This section introduces priority order, computing direction and descriptions of operators in ReportLite.
Priority order |
Computing direction |
Operator |
Description |
14 |
From left to right |
., [], () |
Field access, getting record’s field by position, array index, function call, grouping by expression |
13 |
From right to left |
-, ! |
A unary operator |
12 |
From left to right |
*, /, % |
Multiplication, division, getting remainder |
11 |
From left to right |
+, - |
Addition, string concatenation, subtraction |
10 |
From left to right |
<, <=, >, >= |
Less than, equal to or less than, greater to, equal to or greater than |
9 |
From left to right |
==, != |
equal to, not equal to |
8 |
From left to right |
& |
Bitwise AND |
7 |
From left to right |
^ |
Bitwise XOR |
6 |
From left to right |
| |
Bitwise OR |
5 |
From left to right |
&& |
Logical AND |
4 |
From left to right |
|| |
Logical OR |
3 |
From right to left |
?: |
A condition |
2 |
From right to left |
= |
Value assignment |
1 |
From left to right |
,(comma) |
Computation of multiple expressions |