bas7ex.hlp (Topic list)
SPC Function Programming Example
                       Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
'This example uses the SPC statement to insert a number of spaces within a
'printed line using the PRINT statement.
 
CLS                               'Clear the screen.
PRINT "The following line is printed using standard screen print zones."
PRINT : PRINT "Column 1", "Column 2", "Column 3", "Column 4", "Column 5"
PRINT : PRINT
PRINT "The next line is printed using the SPC statement to achieve the"
PRINT "same results."
PRINT
PRINT "Column 1"; SPC(6); "Column 2"; SPC(6); "Column 3";
PRINT SPC(6); "Column 4"; SPC(6); "Column 5"