Login
Plus/4 EncyclopediaFirstBackNextLast

TAB Function
Category
Reference/Commodore BASIC V3.5

Topic
TAB(X)

This function is used by the PRINT statement to move cursor to position (x) by printing how many [Cursor-right] are needed, to achieve the position x in the current text screen line. X can have a value from 0-255, then cursor could perform a newline is needed.
If output is a printer, then the TAB(x) works like SPC(X).

This is similar to the SPC function, but only counts spaces from the left side of the screen.

The TAB function cannot be used as part of a variable expression. Otherwise a ?SYNTAX ERROR will occur.

Abbreviation
T SHIFT+A

Credits
?+SVS 



Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon