# tab¶

## Purpose¶

Tabs the cursor to a specified text column.

## Format¶

tab(col)
Parameters

col (scalar) – the column position to tab to. Can be in the following format:

## Remarks¶

Can be specified multiple times in a print statement:

print expr1 expr2 tab(col1) expr3 tab(col2) expr4 ...


col specifies an absolute column position. If col is not an integer, it will be truncated.

tab can be called alone or embedded in a print statement. You cannot embed it within a parenthesized expression in a print statement, though.

For example:

print (tab(20) c + d * e);


will not give the results you expect. If you have to use parenthesized expressions, write it like this instead:

print tab(20) (c + d * e);