Operator Precedence

Precedence is the order that Siebel CRM uses to evaluate the operators that a single expression contains. It evaluates higher precedence operators before it evaluates lower precedence operators. It evaluates operators that are equal in precedence from first to last.

You can use parentheses to modify the order of precedence that Siebel CRM uses to evaluate an expression. It evaluates the expression in the parentheses first, and then evaluates parts of the expression that reside outside of the parentheses.

The following table describes the levels of precedence. A lower level indicate higher precedence. For example, level 1 possess the highest precedence.

Level Operator

1

()

2

- (negation)

3

^ (exponentiation)

4

The following operators possess this level:

  • * (multiplication)

  • / (division)

5

The following operators possess this level:

  • + (addition)

  • - (subtraction)
  • NOT logical operator

6

AND logical operator.

7

OR logical operator.

8

Comparison operators. The following operators possess this level:

= (equal to)

<> (not equal to)

> (greater than)

< (less than)

>= (greater than or equal to)

<= (less than or equal to)