Operator-Precedence

Group Operator Description Evaluation
1 (..) Bracket left » right
(..) sub routine call, casting
[..] element size
. bind operator in class- or object expressions
2 Not logical NOT (in conditions) right » left
New object creation (dynamic memory management)
3 ^ arithmetical operator left » right
4 Mod arithmetical operator
5 * and / arithmetical operator
6 + and - arithmetical operator
7 < und <= und > und >= und = comparison operators
8 And AND bit operator left » right
9 Or OR bit operator
10 Xor EXCLUSIVE-OR bit operator
11 <<, >>, and <<<, >>> Shift/rotate operators
12 Not NOT bit operator (in assignments / as parameter) right » left
13 ; concatenation operator
14 , separation operator
15 =,
>>=, <<=,
+=, -=, *=, /=,
and=, or=, xor=
assignment operators right » left
16 byVal copy
byRef reference