Multiple operators are evaluated in the order shown in Table 87. Priority 1 is the highest priority; priority 8 is the lowest.
Table 87. Operator Priority
Priority | Operators |
---|---|
1 | ( ) |
2 | not + – (Unary) |
3 | * / mod |
4 | + – (Binary) |
5 | || |
6 | < <= > >= == != |
7 | and |
8 | or |
Operands with the same priority are executed from left to right.