Table of Contents

TAB

Moves the text cursor to the given horizontal position (column), among outputs from PRINT and alikes

Implemented by: dartmouth4, ansifull, Altair, a2int, Applesoft, CBM, msatari, trs80, level2, trscolor, zx81, spectrum, BBC, GWBASIC, MSX, bwbasic, bw32, ABasiC, QBasic, VBDOS, FreeBASIC

With variations: hptsb, decbasic, ataplus (accepts device or file handler as first argument), atxl (accepts device or file handler as first argument), minibasicjs

Also written as:

Usage

TAB is meant to be used before or among PRINT, LPRINT and other text output statements.

In spite of returning nothing, TAB is often implemented as a function, at least by requiring parenthesis around its argument.

Variations

In MSX BASIC, the argument to TAB can not be bigger than 255.

Apple INTEGER BASIC implemented TAB like a proper statement, and required no parenthesis around its argument.

Examples

Comments

Similar keywords

In other languages...

References