OPERATORS


The following table lists the operators supported by the Command
Interpreter. For additional information, enter VARIABLES,
FUNCTIONS, and EXPRESSIONS at the HELP prompt.

Symbol Function

+(numeric) Addition
Example: 4 + 5
Result: 9

+(string) Concatenate
Example: "abc" + "de"
Result: abcde

-(numeric) Subtraction
Example: 12 - 6
Result: 6

-(string) Deletion of first occurrence
Example: "abc" - "b"
Result: ac

* Multiplication
Example: 4 * 5
Result: 20

/ Integer division
Example: 79/ 10
Result: 7

^ Exponentiation
Example: 2^3
Result: 8

" or ' String identifier
Example: either "abc" or 'abc'
Result: abc

() Parentheses
Example: (3 + 4) * 2
Result: 14

< Less than (1)
Example: 5 < 6
Result: TRUE

<= Less than or equal
Example: "abc" <= "abc"
Result: TRUE

> Greater than
Example: "xyz" > "abc"
Result: TRUE

>= Greater than or equal
Example: "abc" >= "abc"
Result: TRUE

<> Not equal
Example: 5 <> 6
Result: TRUE

= Equal
Example: "xyz" = "xyz"
Result: TRUE