[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SPC                      Skip n Spaces in a PRINT statement

 PRINT SPC(n)

    Skips a specified number of spaces in a PRINT, LPRINT, or PRINT #
    statement.

           n    A numeric expression in the range 0 to 32767.

   --------------------------------------------------------------------------

      Notes:    If n is larger than the width of the output device (as
                defined by WIDTH), Turbo Basic skips n MOD width spaces.

                If the SPC function is used at the end of a list of items
                to print, Turbo Basic behaves as though the PRINT
                statement were terminated with a semicolon; it suppresses
                the usual carriage return and line feed.

See Also: SPACE$ TAB WIDTH
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson