Assignv: Difference between revisions

From Sierra Wiki
Jump to navigationJump to search
m (4 revisions imported)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 23:26, 2 June 2024

The assignv command assigns the value from one variable to another.

Syntax

assignv(var vA, var vB);
vA = vB;

Remarks

None.

Possible Errors

None.

Example

Code:

<syntaxhighlight lang="agi"> assignv(v50, v51); v50 = v51; </syntaxhighlight>

Technical Information

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

See Also

Mathematical Commands
assignn