Go to the first, previous, next, last section, table of contents.

Operator Precedence

Operators below are listed in order of precedence from highest to lowest:

  1. Built-in functions (ABS, FIRST, MAX, NARROW, NEW, etc.)
  2. Field and method selection (x.a)
  3. Function calls, subscripts, constructors (F(x), a[i], T{x})
  4. Dereferencing (x^)
  5. Unary plus and minus (+, -)
  6. Multiplicative operators (*, DIV, /, MOD)
  7. Additive operators and string concatenation (+, -, &)
  8. Relational operators and set inclusion (=, #, <, <=, >=, >, IN)
  9. Logical negation (NOT)
  10. Logical conjuncation (AND)
  11. Logical disjunction (OR)


Go to the first, previous, next, last section, table of contents.