TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-110
OUTVAR Command
OUTVAR Command
Use the OUTVAR command to display the contents of a variable without executing or
invoking it. The OUTVAR command is an alias for the #OUTPUTV built-in function.
option
is an option that qualifies the write operation. Options are not permitted if variable
is of type STRUCT. Specify option as one of these:
COLUMN num
begins writing data at column num. If text in the buffer already extends beyond
the specified column, TACL outputs the buffer first and starts a new line.
FILL { SPACE | ZERO }
specifies the character (space or zero) that is to fill the unused character
positions to the right if the output is narrower than the number of columns
specified by WIDTH.
HOLD
holds the last line of the variable output in a buffer until one of these events
occurs:
•
OUTVAR, #OUTPUT, or #OUTPUTV is executed without the HOLD option
•
The output buffer becomes full
•
TACL, #DELTA, #INPUT, or #INPUTV prompts for input
•
#DELTA exits
JUSTIFY { LEFT | CENTER | RIGHT }
specifies, if the output is less than the number of columns specified by WIDTH,
whether the output is to be left-justified, right-justified, or centered. If the output
is equal to or greater than the WIDTH specification, JUSTIFY is ignored.
WIDTH num
specifies the width of the field into which the output is to be placed. If omitted,
WIDTH defaults to the actual width of the text to be output.
WORDS
specifies that each line is to be treated as a space-separated list and that the
FILL, JUSTIFY, and WIDTH options are to be applied to the individual
members of the list. If this option is omitted, each line is treated as a single
output item.
OUTVAR [ / option [ , option ] ... / ] string