Comparison operators
The operators, their meaning and the applicable data types you can use them with are listed below.
A comparison always returns a BOOLEAN value.
Logical operators
The table below lists an example set of logical operators that can be used for linking logical terms in an expression.
They take logical terms (which return BOOLEAN values) as operands and can thus be built using:
- a boolean value
- a comparison
- a logical term enclosed by brackets ()
- two logical terms connected with a logical operator, where boolean values and comparisons themselves are logical terms.
Conditional operator
The conditional operator, ?-operator, is a powerful one to construct conditional expressions.
<logical_expression> ? <term_1> : <term_2>