qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SPC Function
  ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
Skips a specified number of spaces in a PRINT or LPRINT statement.
 
SPC(n%)
 
    ■ n%    The number of spaces to skip; a value in the range
            0 through 32,767.
 
Example:
    PRINT "Text1"; SPC(10); "Text2"
 
See Also    ◄PRINT, LPRINT►    ◄PRINT USING, LPRINT USING►
            ◄SPACE$►           ◄TAB►