SPACE$ function

Purpose: SPACE$ returns a string of spaces (ASCII code 32).


Syntax:

 RetStr = SPACE$(Length AS INTEGER)

Return Value:

  • Data type: STRING
    RetStr A string of spaces (ASCII code 32).

Parameters:

  • Data type: INTEGER
    Length The number of spaces to place in RetStr.

BCX Console Sample Programs using SPACE$ function.

S32.bas S119.bas