Assignv

From AGI Wiki
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