SPACE or SPACES

The SPACE operator returns a string of a specified length, containing only blank (ASCII 32) characters. The keyword SPACES is a synonym for SPACE.

4GLREF00000101.gif

relative offset is an integer expression that returns a positive number. This specifies the number of blank characters.

This returns a blank string of length relative offset, identical to a quoted string containing the same number of blanks.

In a PRINT statement in the FORMAT section of a report definition, the SPACE operator advances the character position by relative offset characters.

Outside PRINT statements, the relative offset operand and the SPACE (or SPACES) keyword must appear within parentheses.

References

DISPLAY

LINENO

PAGENO

PRINT

SKIP