Operators
An operator links two operands to an expression, or is used with one operand to form an expression.
When a statement is executed that contains these expressions, the result of the expression is determined (operation), and is used in the statement. Operators are displayed by using either special characters or
reserved words.
- Assignment operators
The assignment operators
= and ?= link the source and target field of
an assignment. The operator = also links actual parameters to formal parameters, for example, in procedure calls, or when working with
data clusters.
- Arithmetic operators
The arithmetic operators
+, -,
*, /, DIV,
MOD,** link two or more numeric operands to
an arithmetic expression. In addition, the characters + and - act as plus/minus signs in arithmetic expressions.
- Relational operators
The relational operators
=, <>,
<, >,
<=,>= etc.
link two operands of any data type to a logical expression. There are additional relational operators for specific data types.
- Boolean operators
The boolean operators
AND and OR
link the results of individual logical expressions to a logical expression. The result of a logical
expression is either true or false. The boolean operator NOT inverts the result of a logical expression.
- Bit operators
The bit operators
BIT-AND, BIT-OR,
BIT-XOR link two or more byte-type operands to a bit expression. The bit operator BIT-NOT negates a byte-type operand.