6.1.10 Operator precedence
Table 6-4 shows operator precedence.
Precedence |
Operator |
Description |
---|---|---|
High ↑ ↓ Low |
^ |
Exponential operator |
+, - |
Unary arithmetic operators |
|
*, /, \, Mod |
Multiplication, division, integer division, and remainder division (modulus) operators |
|
+, - |
Addition and subtraction operators |
|
& |
String concatenation |
|
=, <>, <, <=, >, >= |
Comparison operators |
|
Not |
Logical NOT |
|
And |
Logical AND |
|
Or |
Logical OR |