Precedence - Operators


The different parts of a rule expression are evaluated in a specific order. In particular each operator has a certain priority, so that they are always evaluated in the same order. Functions and the unary operators '-' and 'Not' are evaluated first followed by the binary operators. The priority relationship for the binary operators is set out in the table below with the first operator to be evaluated listed first.

Operator Meaning
In Presence in a list of values
Contains Presence in a StringList
/ Division
* Multiplication
- Subtraction
+ Addition
= Equal to
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
!=, <> Not equal to
&, And Logical and
|, Or Logical or