TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-277
#OUTPUT Built-In Function
#OUTPUT Built-In Function
Use #OUTPUT to write data to the TACL OUT file.
option
qualifies the write operation. It can be any of these:
COLUMN num
begins writing data at column num. If there is already text in the buffer
extending beyond the specified column, the buffer contents are output and a
new line is started, beginning at that column.
FILL { SPACE | ZERO }
specifies the character to be used to fill the unused character positions to the
right if the output is narrower than the number of columns specified by WIDTH.
If the output is wider than the number of columns specified by WIDTH, FILL is
ignored.
HOLD
holds output in a buffer until one of these events occurs:
•
#OUTPUT or #OUTPUTV is executed without the HOLD option.
•
The buffer becomes full.
•
TACL, #DELTA, #INPUT, or #INPUTV prompts for input.
•
#DELTA exits.
JUSTIFY { LEFT | RIGHT | CENTER }
specifies whether the output should be left-justified, right-justified, or centered if
the output is narrower than the number of columns specified by WIDTH. If the
output is wider than the number of columns specified by WIDTH, JUSTIFY is
ignored.
WIDTH num
specifies the width of the output field for the FILL and JUSTIFY options. If the
output is wider than the number of columns specified by WIDTH, WIDTH is
ignored. Specify num as an integer in the range from 1 to the current value of
the #WIDTH built-in variable.
#OUTPUT [ / option [ , option ] ... / ] [ text ]