Operators
- Last UpdatedMay 02, 2022
- 1 minute read
Arithmetic expressions can be built using the usual conventions:
-
Operators + and - add and subtract numerical values
-
Operators * and / multiply and divide numerical values
-
Brackets (…) are used to group sub-expressions particularly to build nested expressions.
Boolean expressions can be built using the following conventions:
-
Operators eq, ne, lt, le, gt, ge, test for equality, inequality, less than, less than or equals, greater than, greater than or equals, and apply to a pair of numerical expressions or a pair of alphanumeric expressions or a pair of Boolean expressions. (The result will be unpredictable if expressions of different type are compared.)
-
Operators and and or test for Boolean "and" and Boolean "or" between two Boolean expressions.
-
Operator not is used to negate the Boolean expression that follows it.