An official website of the United States government
Skip Navigation

Precedence in Selection Statements

left-img

The precedence of the Boolean operators is indicated by the order in which they are listed below. That is, groups (parentheses) have the highest precedence, and "Or" has the lowest precedence. Precedence for multiple instances of the same operator is determined by the order in which they appear in the statement (first to last).

  • ( .. )
  • Not
  • And
  • Or

For more information on the meaning and use of these operators see the Operators section of Case Selection Line Dialog.

right-img