TABSET - specify tab stops for the current write unit.

Alternate entries: .TBSET

Usage:

B:
   tabset( [n1, n2, ...] );
C:
   void tabset(int n1, ...)

Description:

TABSET handles tab stops on the current write unit. If TABSET is called with no arguments, it will clear all tab settings. If arguments are supplied, they may be any number of positive or negative numbers. Positive arguments indicate that a tab stop should be set in the given column; negative arguments indicate that any tab stops in the given column should be cleared.

When a tab character is written to an output unit, the I/O package will check to see if there are any tab stops set for the unit. If there are, the I/O routines will convert the tab into as many blanks as are required so that the next character written will be placed in the next tab position. If there are no tab stops left on the line, the I/O package leaves the tab character as is.

Tab stops are not supported on strings that have been opened for I/O.

See Also:

expl b lib .tabs
for use with .BSET

Copyright © 2000, Thinkage Ltd.