Tab
The TAB(X) internal function returns the TAB character repeated X times
Comments and Examples
00010 PRINT TAB(3)
Line 10 prints the TAB character on the screen 3 times.
Related Functions
Other special functions used mainly in PRINT are BELL and NEWPAGE.
Technical Considerations
- In an unformatted PRINT statement, when NEWPAGE precedes the TAB(X) function, the TAB function will appear to be off by one column because the character for NEWPAGE appears in the output buffer, but not on the screen or printer. Avoid using NEWPAGE (or BELL) before TAB in an unformatted PRINT statement. One remedy is to use one PRINT statement for NEWPAGE (and BELL) and another for the TAB function and other output.