The following table lists the built-in operators of the expression evaluation engine:
Operator |
Name |
Description |
---|---|---|
Primary |
||
x.[y] |
Parameter value |
Value y of the parameter x. |
d.c |
Dictionary column |
Column c of the dictionary d. |
d["Key", d.c] |
Dictionary value |
Value in the column c at the row with the key "key" of the dictionary d. |
Unary |
||
- |
Numerical negation |
Numerical negation of the next value. |
! |
Logical negation |
Logical negation of the next Boolean value. |
Multiplicative |
|
|
* |
Multiplication |
Multiplication of two values. |
/ |
Division |
Floating-point division of two values. |
div |
Integer division |
Integer division of two values, |
% |
Remainder |
The remainder from the integer division of two values. |
Additive |
||
+ |
Plus |
Addition of two values. |
- |
Minus |
Subtraction of the second value from the first value. |
Comparison |
||
= |
Equal |
True if the first and second values are equal, else false. |
!= |
Not equal |
True if the first and second values are not equal, else false. |
< |
Less than |
True if the first value is less than the second value, else false. |
> |
Greater than |
True if the first value is greater than the second value, else false. |
<= |
Less than or equal |
True if the first value is less than or equal to the second value, else false. |
>= |
Greater than or equal |
True if the first value is greater than or equal to the second value, else false. |
Conditional |
||
&& |
And |
True if both first and second value are true, else false. |
|| |
Or |
True if first, second or both values are true, else false. |
XOR |
Exclusive or |
True if either first or second value is is true, else false. If both values are true, then false is returned. |
Ternary |
||
?: |
If then or else |
If the value before "?" is true then the value after "?" is returned, else the value after ":" is returned. |
The order of the operators groups above indicates the precedence of the operators. In an expression with multiple operators, the operators with higher precedence are evaluated before the operators with lower precedence. Use parentheses to change the order of evaluation.