|
Aritmetici
| Integer | Real | String | Set |
|---|
| + | Addition | Addition | Concatenation | Union |
|---|
| - | Subtraction | Subtraction | | Difference |
|---|
| * | Multiplication | Multiplication | | Intersection |
|---|
| / | | Division | | |
|---|
| DIV | Division | | | |
|---|
| MOD | Modulo | | | |
|---|
Logici e bitwise
| Integer | Boolean |
|---|
| NOT | Bitwise negation | Logical negation |
|---|
| AND | Bitwise AND | Logical AND |
|---|
| OR | Bitwise inclusive OR | Logical inclusive OR |
|---|
| XOR | Bitwise exclusive OR | Logical exclusive OR |
|---|
| SHL | Bitwise shift-left | |
|---|
| SHR | Bitwise shift-right | |
|---|
These relational operators return Booleans:
| What It Is | What Types It Compares |
|---|
| = | Equal | Ordinal, real, string, set, pointer |
|---|
| <> | Not equal | Ordinal, real, string, set, pointer |
|---|
| < | Less than | Ordinal, real, string |
|---|
| > | Greater than | Ordinal, real, string |
|---|
| <= | Less than or equal | Ordinal, real, string, set |
|---|
| >= | Greater than or equal | Ordinal, real, string, set |
|---|
| | What It Returns |
|---|
| IN | Member of | True if the left operand (ordinal type) is a member of the right operand (set type)
False if not |
|---|
|