Priority of evaluation of operators

The functions and operators in Ability are evaluated in an order of priority. For complex expressions you will not have to worry about this too much, since it is likely that you will have used brackets to control and make clear the way you want the expressions to be calculated. The priorities are as follows, starting with the highest:

Operator / Function

Meaning

Built-in functions

Ability’s built-in functions

(..)

bracketed expressions

%

percentage

^

power

* and /

multiply and divide

+ and -

add and subtract

<, <=, >, >=, =, <>

relational operators

~

NOT

&

AND

|

OR

See also:

Logical operators

Relational operators

Arithmetical operators

Function reference