Category:Releases by Jeff Stewart and Assignv: Difference between pages
From Sierra Wiki
(Difference between pages)
m 1 revision imported |
m 1 revision imported |
||
Line 1: | Line 1: | ||
The '''assignv''' command assigns the value from one [[variable]] to another. | |||
== | == Syntax == | ||
assignv([[variable|var]] vA, [[variable|var]] vB);<br /> | |||
vA = vB; | |||
== Remarks == | |||
None. | |||
== Possible Errors == | |||
None. | |||
== Example == | |||
<div class="CodeBlockHeader">Code:</div> | |||
<syntaxhighlight lang="agi"> | |||
assignv(v50, v51); | |||
v50 = v51; | |||
</syntaxhighlight> | |||
== Technical Information == | |||
{| border="1" cellpadding="2" | |||
| style="background-color: #efefef" width="200" | '''Required Interpreter Version:''' | |||
| width="175" | Available in all AGI versions. | |||
|- | |||
| style="background-color: #efefef" | '''Byte-Code Value:''' | |||
| 4 (0x04 hex) | |||
|} | |||
== See Also == | |||
[[Mathematical Commands]]<br /> | |||
'''[[assignn]]'''<br /> | |||
[[Category:Commands]] | |||
[[Category:Mathematical Commands]] |
Revision as of 00:26, 3 June 2024
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:
assignv(v50, v51);
v50 = v51;
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 4 (0x04 hex) |
See Also
Pages in category "Releases by Jeff Stewart"
The following 2 pages are in this category, out of 2 total.