Operator Precedence

Operator

Description

Order

()

Parenthesis

Highest

^

Exponentiation

.

-

Unary minus

.

/,*

Division / Multiplication

.

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