Integer expression is a particular case of a numeric expression that returns a whole number.
Literal integer |
a base-10 representation of an whole number |
Function |
a function which returns exactly one value |
Named value |
one of these values:
|
an expression which returns either TRUE or FALSE |
Any function calls or named values must return INTEGER values.
Values of the DATE data type can be used in integer expressions only when they define the difference between two DATE values (because this difference is returned in the integer format). This difference can be converted to the INTERVAL data type use UNITS operator.
Integer expressions can be used as operands within any other 4gl expression.