Difference between revisions of "Assignn"

From AGI Wiki
Jump to navigationJump to search
Line 16: Line 16:
 
== Example ==
 
== Example ==
  
<div class="CodeBlockHeader">Code:</div>
+
<!-- <div class="CodeBlockHeader">Code:</div>
 
<syntaxhighlight lang="agi">
 
<syntaxhighlight lang="agi">
 
assignv(v50, 75);
 
assignv(v50, 75);
 
v50 = 75;
 
v50 = 75;
</syntaxhighlight>
+
</syntaxhighlight> -->
  
 
== Technical Information ==
 
== Technical Information ==

Revision as of 20:17, 23 March 2019

The assignn command assigns a numeric value to a variable.

Syntax

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

Remarks

None.

Possible Errors

None.

Example

Technical Information

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

See Also

Mathematical Commands
assignv