Operator Precedence Levels | |||
---|---|---|---|
Level |
Notes |
Operators |
Operator Names |
Highest (0) |
Unary |
--, ++, ~, ~~, ?, @, @@ |
Inc/Decrement, Clear, Set, Random, Symbol/Object Address |
1 |
Unary |
+, -, ^^, ||, |<, >|, ! |
Positive, Negate, Square Root, Absolute, Decode, Encode, Bitwise NOT |
2 |
|
->, <-, >>, <<, ~>, >< |
Rotate Right/Left, Shift Right/Left, Shift Arithmetic Right, Reverse |
3 |
|
& |
Bitwise AND |
4 |
|
|, ^ |
Bitwise OR, Bitwise XOR |
5 |
|
*, **, /, // |
Multiply-Low, Multiply-High, Divide, Modulus |
6 |
|
+, - |
Add, Subtract |
7 |
|
#>, <# |
Limit Minimum/Maximum |
8 |
|
<, >, <>, ==, =<, => |
Boolean: Less/Greater Than, Not Equal, Equal, Equal or Less/Greater |
9 |
Unary |
NOT |
Boolean NOT |
10 |
|
AND |
Boolean AND |
11 |
|
OR |
Boolean OR |
Lowest (12) |
|
=, :=, all other assignments |
Constant/Variable Assignment, assignment forms of Binary Operators |
Propeller Help Version 1.1
Copyright © Parallax Inc.
5/13/2009