
Creating expressions 14–23
Operators are evaluated in the following order:
Example: Evaluation order
For these examples, tag1 = 5, tag2 = 7, and tag3 =10.
_____________________________
(tag1 > tag2) AND (tag1 < tag3)
is evaluated in this sequence:
Evaluation order Symbols
1 (highest) ( )
2NOT
~
3*
/
MOD, %
**
AND, &&
&
>>
<<
4+
-
OR, ||
|
^
5 (lowest) EQ, =
NE, <>
LT, <
GT, >
LE, <=
GE, >=
Comentários a estes Manuais