Assignv
From AGI Wiki
The assignv command sets the value of a variable to the value of another variable.
assignv(variableA, variableB);
variableA = variableB;
When this command is issued, the value of variableA
is set to the value of variableB
.
Parameters
variableA:
a variable,v0-v255
, which should receive the value ofvariableB
variableB:
a variable,v0-v255
, whose value should be assigned tovariableA
Possible errors
None known.
Examples
The following example assigns the value of variable v30
to variable v200
, using the longhand syntax:
assignv(v200, v30);
The next example assigns the value of variable v98
to variable v207
, using the shorthand syntax:
v207 = v98;
See also
Sources
- AGI Studio help file