bas7qck.hlp (Table of Contents; Topic list)
SPC Function
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
SPC(n%)
 
    ■ n%   A numeric expression with an integer value between
           0 and 32,767, inclusive; a number that is combined with the
           width of the output line to determine the number of blank
           characters to print:
               number of spaces = (n% MOD width)
Returns
    SPC does not return a value to the program; instead, it prints
    one or more spaces to the output device or file, starting at the
    current print position.
 
    ■ A SPC function can be used in the PRINT, LPRINT, or PRINT #
      statements.
    ■ BASIC assumes that a semicolon (;) immediately follows any use
      of the SPC function, whether you explicitly code it or not.
      For example, the following two PRINT statements are equivalent:
          PRINT  SPC(10) FixLen1$; SPC(10) FixLen2$; SPC(10) FixLen3$
          PRINT  SPC(10); FixLen1$; SPC(10); FixLen2$; SPC(10); FixLen3$
 
See Also    LPRINT    PRINT    PRINT USING    SPACE$    TAB