TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-213
#INPUTV Built-In Function
The former construct is faster and is not subject to errors incurred in type-checking the
input data.
If the data from IN is longer than the data area of the STRUCT, the excess bytes
are discarded without any notification.
If the data from IN is shorter than the data area of the STRUCT, TACL sets the
entire STRUCT to its default values and then moves the supplied data into the
beginning of the data bytes of the STRUCT.
Example
This example shows the use of strings in both the HISTORYV operand and the prompt
of an #INPUTV invocation.
#PUSH indata
#INPUTV /HISTORYV " : "/ indata "History line "
The resulting dialog at the IN file appears as:
History line 43 : user input