Assignv

From AGI Wiki
Revision as of 17:13, 23 March 2019 by Andrew Korson (talk | contribs)
(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