TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-422
#WIDTH Built-In Variable
#WIDTH Built-In Variable
Use #WIDTH to set or obtain the current setting of the width register, which indicates
the maximum width of lines TACL writes to its OUT file.
Result
#WIDTH returns the current setting of the width register.
Considerations
When you first log on, #WIDTH is initialized to 80.
Use #PUSH #WIDTH (or PUSH #WIDTH) to save a copy of the current width
setting.
Use #POP #WIDTH (or POP #WIDTH) to restore the width register from the last
copy pushed.
Use #SET #WIDTH (or SET VARIABLE #WIDTH) to define the maximum number
of characters that TACL is to output before starting a new line.
The syntax of #SET #WIDTH is:
num
is a number in the range 10 to 239.
For D-series software RVUs, only the default number of characters or number of
characters set using the #set #width command are displayed. Excess characters
are truncated. For the default width (set to 80):
$DATA08 USERX 15> time
February 21, 2001 16:32:49
For G-series software RVUs, the number of characters indicates the number of
characters to be displayed on a line. Excess characters are displayed on a
subsequent line, and so forth. For width set to 10:
$DATA08 USERX 16> #set #width 10
$DATA08 USERX 17> time
February 2
1, 2001 16
:32:58
#WIDTH
#SET #WIDTH num