Reset: Difference between revisions

From Sierra Wiki
Jump to navigationJump to search
Andrew Branscom (talk | contribs)
Andrew Branscom (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''reset''' command changes a [[flag]]'s value to FALSE.
The '''reset''' command changes a [[Flag (AGI)|flag]]'s value to FALSE.


== Syntax ==
== Syntax ==


reset([[flag|flg]] fA);<br />
reset([[Flag (AGI)|flg]] fA);<br />
fA = false;
fA = false;


Line 12: Line 12:
== Possible Errors ==
== Possible Errors ==


Changing values of [[reserved flags]] can have unpredictable results, and should be done carefully.
Changing values of [[Reserved Flags (AGI)|reserved flags]] can have unpredictable results, and should be done carefully.


== Example ==
== Example ==

Latest revision as of 18:26, 24 October 2025

The reset command changes a flag's value to FALSE.

Syntax

reset(flg fA);
fA = false;

Remarks

None.

Possible Errors

Changing values of reserved flags can have unpredictable results, and should be done carefully.

Example

Code:
reset(f99);

Technical Information

Required Interpreter Version: Available in all AGI versions.
Byte-Code Value: 13 (0x0D hex)


References



Also See