Assignv

From Sierra Wiki
Revision as of 11:19, 28 January 2022 by sierraw>Andrew Branscom (4 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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