back to Command Reference
[All Models]
Outputs a horizontal tab specification to the screen or printer.
TAB (tab specification)
└──────┬───────┘
Numeric constant or numeric variable
PRINT TAB (5) ; "ABC"
tab specification: Numeric expression truncated to an integer in the range of 0 <= tab specification <= 256.
10 FOR I=0 TO 25
20 PRINT TAB(I); "ABCDEFG";
30 NEXT I
Prints successive lines of “ABCDEFG”, with each line proceeding to the right.