LOTUSSCRIPT LANGUAGE


Tab function
Example

Moves the print position to a specified character position within a line, when called from within a Print or Print # statement.

Syntax

Tab ( column )

Elements

column


Usage

If you haven't specified a width for the file, Tab checks column against the current print position, and acts as follows:


Note Newline does not mean either chr(10) or chr(13) on all platforms. Newline is the character or sequence of characters that is used to mark the end of a line. This may be chr(10), or chr(13), but it may also be something else, because the actual value of newline depends on the platform.
If you print to a file whose width was set with the Width # statement, Tab interacts with that width as described in the following table.
ColumnTab moves to:
> width column Mod width
< 1column 1
< current print position(column - current position) on the next line
> current print position(column - current position) on the same line

Language cross-reference

@Char function in formula language

Example
See Also