Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>spc skip </b><b><u>n</b></u><b> spaces in a print statement</b> http://www.X-Hacker.org [<<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), QuickBASIC skips n MOD width spaces.

                If the SPC function is used at the end of a list of items
                to print, QuickBASIC 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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson