AutoEdit operators can be used in conjunction with AutoEdit symbols. Valid AutoEdit operators are:
Table 31 AutoEdit Operators
Operator |
Description |
---|---|
%%$PLUS |
Add two operands. |
%%$MINUS |
Subtract the second operand from the first operand. |
%%$TIMES |
Multiply one operand by another operand. |
%%$DIV |
Divide the first operand by the second operand. |
The format for use of AutoEdit symbols and operators is:
operand operator operand
Only one operator can be used in an expression.
Operands must resolve into positive numeric constants. The final result is translated into a character string. For example:
SETOLOC %%x = %%x %%$PLUS 1
User-defined variable %%x is incremented by one.
Parent Topic |