BASIC SPC Function - fvdhoef/aquarius-plus GitHub Wiki

SPC

TYPE: BASIC String Function

FORMAT: SPC(numeric)

Action:

The SPC function is used to control the formatting of data, as either an output to the screen or into a logical file. The number of spaces given by the numeric argument are printed, starting at the first available position.

EXAMPLE of SPC Function:

10 PRINT"RIGHT "; "HERE &";
20 PRINT SPC(5)"OVER" SPC(14)"THERE"
RUN

RIGHT HERE &     OVER              THERE