Set.v: Difference between revisions

From Sierra WikiNew
Jump to navigationJump to search
m (1 revision imported)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:14, 3 June 2024

The set.v command indirectly sets a flag's value to TRUE.

Syntax

set.v(var vA);

Remarks

Sets flag fB, where B equals the value of vA.

Possible Errors

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

Example

Code:
v50 = 99;
set.v(v50);  [ now flag f99 is TRUE

Technical Information

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

See Also

Flag Commands