Difference between revisions of "AMOSi:Resource Arithmetic Operations"
Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile) |
Spellcoder (talk | contribs) m (1 revision(s)) |
(No difference)
|
Latest revision as of 01:51, 17 November 2007
Adds two strings together, leaving the address of the result.
'string1' 'string2' !
Generates 'string1string2' and places it's address onto the stack.
==Number to string== PR,PO, or VT commands.
number1 #
Generates the string 'number1' and places it's address on the stack.And Performs a logical AND operation on two values from the stack.
number1 number2 &Mul
Multiplies the top two numbers on the stack, and leaves the result.
number1 number2 *Plus
Adds two numbers from the stack and returns the result.
number1 number2 +Div
Divides the second number on the stack by the top number.
number1 number2 /
==Less than== first is less than the second.
number1 number2 <
==Greater than== first is greater than the second.
number1 number2 >
==Equals== first is equal to the second.
number1 number2 =
==Not equals== first is NOT equal to the second.
number1 number2 \Or
Performs a logical OR operation on two values from the stack.
number1 number2 |Subtract
Subtracts the second value from the first.
number1 number2 -