When many operations occur in an expression, the compiler examines each part in a pre-specified sequence known as operator precedence.
- Bit Shift
- Arithmetic (binary)
- String Concatenation
- Data type
- Null coalescing
Override precedence and associativity
You can use parentheses to cause some parts of an expression to evaluate before other parts. They can override precedence and associativity. ViviFire always evaluates expressions in parentheses before outer expressions. But expressions in parentheses have the usual precedence and associativity, unless you use parentheses in the parentheses. An example follows.