precedence definition


When several operators are used in an expression, each operator is evaluated in a predetermined order. Operators are evaluated in this order:
•^ (power)
•- (negate)
•* (multiply), / (divide)
•\ (integer divide)
•Mod (integer remainder)
•+ (add), - (difference)
•& (string concatenate)
•= (equal), <> (not equal), < (less than) > (greater than), <= (less than or equal to), >= (greater than or equal to), Like, (string similarity) Is (object equivalence)
•Not (logical bitwise invert)
•And (logical bitwise and)
•Or (logical or bitwise or)
•Xor (logical or bitwise exclusive-or)
•Eqv (logical or bitwise equivalence)
•Imp (logical or bitwise implication)
Operators shown on the same line are evaluated from left to right.