next up previous contents index
Next: STRING_OPERATE perform Up: TOP Commands Previous: SET set   Contents   Index

OPERATE -- perform mathematic operation

OPERATION = <string:1> 'SUM' operation to perform: 'SUM' | 'MULTIPLY' | 'DIVIDE' | 'POWER' | 'MOD'
RESULT = <string:0> '' variable name for the result of operation
ARGUMENTS = <real:0> 0.00 real arguments to the math operation

Description:
This command performs a specified mathematical operation. There can be up to MRPRM (120) arguments for the 'SUM' and 'MULTIPLY' operations, but only two for 'DIVIDE', 'POWER' and 'MOD'. The RESULT value has to be the name of a real variable.



Ben Webb 2004-10-04