Integer Expressions

An integer expression returns a whole number. It has this syntax:

4GLREF00000209.gif

Here any function call or named value returns an integer.

Integer expressions can be components of expressions of every other type. Like Boolean expressions, integer expressions are a logical subset of number expressions, but they are separately described here because some 4GL operators, statements, form specifications, operators, and built-in functions are restricted to integer values, or to positive integers.

Literal Integers

You must write literal integers in base-10 notation, without embedded blank spaces or commas, and without a decimal point:

4GLREF00000210.gif

digit is any of the symbols 1, 2, 3, 4, 5, 6, 7, 8, 9, or 0.