FORMULA LANGUAGE


Operators and precedence
The table below lists the operators and their precedence, where 1 is the highest precedence.
OperatorOperationPrecedence
:=AssignmentNA
[]List subscript1
:List concatenation2
+

-

Positive

Negative

3
*

**

/

*/

Multiplication

Permuted multiplication

Division

Permuted division

4
+

*+

-

*-

Addition, concatenation

Permuted addition

Subtraction

Permuted subtraction

5
=

*=

<>

!=

=!

><

*<>

<

*<

>

*>

<=

*<=

>=

*>=

Equal

Permuted equal

Not equal

Not equal

Not equal

Not equal

Permuted not equal

Less than

Permuted less than

Greater than

Permuted greater than

Less than or equal

Permuted less than or equal

Greater than or equal

Permuted greater than or equal

6
!

&

|

Logical NOT

Logical AND

Logical OR

7