TAB

Function

TAB moves the print position cursor the specified number of places from the left-hand margin.

Syntax

TAB(N)

where N is the PRINT POSITION to begin PRINTING.

Examples

100 PRINT"COL 1 ";TAB(10);"COL 2";TAB(20);"COL 3"

Will print:

COL 1     COL 2     COL3

Remarks

In an LPRINT statement TAB specifies how many columns to skip before starting to print.

If the value of the numeric expression is less than the print position, then TAB is ignored. The value of expression must be positive and not exceed 255.