Difference between revisions of "Reset"

From AGI Wiki
Jump to navigationJump to search
(Created page with "The '''reset''' command changes a flag's value to FALSE. == Syntax == reset(flg fA);<br /> fA = false; == Remarks == None. == Possible Errors == Changing va...")
 
 
Line 34: Line 34:
  
 
[[Flag Commands]]<br />
 
[[Flag Commands]]<br />
 +
'''[[set]]'''<br />
 +
'''[[set.v]]'''<br />
 
'''[[reset.v]]'''<br />
 
'''[[reset.v]]'''<br />
 
[[Category:Commands]]<br />
 
[[Category:Commands]]<br />

Latest revision as of 14:57, 20 April 2019

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:

<syntaxhighlight lang="agi"> reset(f99); </syntaxhighlight>

Technical Information

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

See Also

Flag Commands
set
set.v
reset.v