The following math operators are available:
^ | exponentiation |
* | multiplication |
/ | division |
mod | remainder |
+ | addition |
- | subtraction |
Any non-zero value is true. Logical Operators:
not | logical not |
Bitwise operators:
and | bitwise and |
or | bitwise or |
xor | bitwise exclusive-or |
Arithmetic Comparison Operators:
<= | less than or equal |
<> | not equal to |
>= | greater than or equal |
= | equal |
> | greater than |
< | less than |
String Comparison Operators:
x$=y$, x$y$, x$<=y$, x$>=y$, x$<>y$
String comparisons; result is 1 if true, 0 if false.
Operator Precedence (highest to lowest):
( )- {unary_minus}functions()^* / mod+ -= < > <= >= <>notandor xor