Operator Precedence
- Last UpdatedJan 08, 2024
- 1 minute read
Operators are evaluated in the order of the following list: the ones at the top of the list are evaluated first.
|
Operator |
Comments |
|
BRACKETS |
Brackets can be used to control the order in which operators are evaluated, in the same way as in normal arithmetic. For example (!A +!B) * 2. |
|
FUNCTIONS |
|
|
* / |
|
|
+ - |
|
|
NE NEQ GT LT GE GEQ LE LEQ |
|
|
NOT |
|
|
AND |
|
|
OR |