QBasic 1.1: SPACE$ Function

Syntax

SPACE$(n%)

Description / Parameter(s)

n% The number of spaces you want in the string.

Example

FOR i% = 1 TO 5 x$ = SPACE$ (i%) PRINT x$; i% NEXT i%