Valid Operators

The following are the valid operators.
Operator
Description
Allowed in
Array Index
FSC
CMP
FAL
CPT
Safety
+
add
X
X
X
X
X
X
-
subtract/negate
X
X
X
X
X
X
*
multiply
X
X
X
X
X
X
/
divide
X
X
X
X
X
X
=
equal
X
X
X
<
less than
X
X
X
<=
less than or equal
X
X
X
>
greater than
X
X
X
>=
greater than or equal
X
X
X
<>
not equal
X
X
X
**
exponent (x to y)
X
X
X
X
&&
Logical AND
X
X
X
||
Logical OR
X
X
X
^^
Logical XOR
X
X
X
!
Logical NOT
X
X
X
ABS
absolute value
X
X
X
X
X
ACS
arc cosine
X
X
X
X
AND
bitwise AND
X
X
X
X
X
X
ASN
arc sine
X
X
X
X
ATN
arc tangent
X
X
X
X
COS
cosine
X
X
X
X
DEG
radians to degrees
X
X
X
X
FRD
BCD to integer
X
X
X
X
X
IsINF
Is infinity
X
X
IsNAN
Is not a number
X
X
LN
natural log
X
X
X
X
LOG
log base 10
X
X
X
X
MOD
modulo-divide
X
X
X
X
X
NOT
bitwise NOT
X
X
X
X
X
X
OR
bitwise OR
X
X
X
X
X
X
RAD
degrees to radians
X
X
X
X
SIN
sine
X
X
X
X
SQR
square root
X
X
X
X
X
TAN
tangent
X
X
X
X
TOD
integer to BCD
X
X
X
X
X
TRN
truncate
X
X
X
X
XOR
bitwise exclusive OR
X
X
X
X
X
X
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.