SPACE Function

The SPACE function produces a string of the specified number of blank spaces.

Format

SPACE(expr)

Parameter(s)

expr

An expression specifying the number of spaces to be generated.

Description

Use the SPACE function to return a string composed of blank spaces. It is essentially the same as STR(" ",expr)

Example

To print Attribute 1 of a dynamic array indented 5 spaces, type:

PRINT SPACE(5) : RECORD<1>

See Also

Statement and Function Reference