Explanation
SPC Function
Skips a specified number of spaces in a PRINT or LPRINT statement.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
SPC(n%) |
n% | The number of spaces to skip; a value in the range 0 through 32,767. |
PRINT "Text1"; SPC(10); "Text2"
See also: | PRINT, LPRINT | PRINT USING, LPRINT USING | SPACE$ | TAB |