If the current print position is to the right of position NumExpr, the tab function makes position NumExpr on the next line the current print position. The leftmost position is space 1, the rightmost position is that defined by the width function.
The tab function may be used with print and print # statements only.
print "NAME" tab(25) "AMOUNT" : print on error goto 90 40 read a$, b$ print a$ tab(25) b$ goto 40 data "Gary M. Goins", "$25,000.00" data "Roger Bielefeld", "$45,000.00" data "Lawrence J. Leinweber", "$60,000.00" 90 resume 95 95 endThe output looks like
NAME AMOUNT Gary M. Goins $25,000.00 Roger Bielefeld $45,000.00 Lawrence J. Leinweber $60,000.00
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber