Tab()
Previous  Next

Description: Positions the text cursor at <Column>,<Row>. This function is used for inline PRINT formatting, and will return nothing if used in an expression.

     Syntax:
     
TAB([<Column>], [<Row>])

Part
Description
<Column>
Optional. Sets the text cursor to the specified column. If omitted, the cursor column is not changed
<Row>
Optional. Sets the text cursor to the specified row. If omitted, the cursor row is not changed.

Example:

        a$ = "Hello"
        b$ = "World"
        PRINT a$ & TAB(10) & b$        ' sets the cursor to column 10
        PRINT a$ & TAB(,3) & b$         ' sets the cursor to row 3