TAB

BASin

TAB TABulate

PRINT/INPUT modifier

TAB changes the position on a line that PRINT and INPUT items appear.

How to use TAB

TAB is followed by a numeric value, for example

PRINT TAB 15;"Colunm 15"

The value following TAB is rounded down to the nearest integer if necessary, and may range from 0 to 31 - values greater than 31 will be divided by 32 and the remainder used as the TAB value. Any characters subsequently displayed will appear at that column on the screen.

TAB can also be used in exactly the same manner with INPUT items.

Format

  • TAB int-num-expr

See also

LPRINT; PRINT; Chapter 15.