The operator precedence in CitectVBA runs like this:
Operator |
Description |
Order |
---|---|---|
( ) |
Parenthesis |
Highest |
^ |
Exponentiation |
|
- |
Unary minus |
|
/, * |
division/multplication |
|
Mod |
Modulo |
|
+, -, & |
addition, subtraction, concatenation |
|
=, <>, <, >,<=,>= |
Relational |
|
Not |
Logical negation |
|
And |
Logical conjunction |
|
Or |
logical disjunction |
|
Xor |
logical exclusion |
|
Eqv |
logical equivalence |
|
Imp |
logical implication |
Lowest |
See Also