Assignn

From AGI Wiki
Revision as of 20:20, 23 March 2019 by Andrew Branscom (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The assignn command assigns a numeric value to a variable.

Syntax

assignv(var vA, byt B);
vA = B;

Remarks

None.

Possible Errors

None.

Example

Code:
assignv(v50, 75);
v50 = 75;

Technical Information

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

See Also

Mathematical Commands
assignv