You specify operators to evaluate:
The order in which to evaluate multiple expressions including operators is defined according to strict priority. The operator is linked with either the left or right operand. This is referred to as linking order. The operators in the same group have the same priority. They are evaluated from the left to the right unless you explicitly change the priority using parentheses (()).
The following tables list the operators supported by the AIT language.
Table 3-1 Unary operators supported by the AIT language
Unary operator | Description |
---|---|
+ | Unary plus sign |
- | Unary minus sign |
! | Unary not sign |
Table 3-2 Binary operators supported by the AIT language
Binary operator | Description |
---|---|
+ - | Adding operators |
* / % | Multiplying operators |
< <= > >= != == | Comparison operators |
& | | Bitwise operators |
&& || | Logical operators |