Operators

Symbol Operation
( ) Grouping
- Negation
^ Exponentiation
* / Multiplication (*) and division (/)
@ MOD Integer division (@) and modulus (MOD)
+ - Addition and subtraction
> < = <> >= <= Relational operators
NOT AND EQV IMP OR XOR Logical operators

Logical operator truth table

A B A AND B A EQV B A IMP B A OR B A XOR B
0 0 0 -1 -1 0 0
0 -1 0 0 -1 -1 -1
-1 0 0 0 0 -1 -1
-1 -1 -1 -1 -1 -1 0