TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-420
#WAIT Built-In Function
|error^var| == Handle error^var ready condition here
|read^var| == Handle read^var ready condition here
|prompt^var| == Handle prompt^var ready condition here
]
When waiting for a prompt variable, be sure to clear the variable before initiating
the read and #WAIT operations. Otherwise, the variable might be ready despite the
outcome of your operation. For an example, see the TACL Programming Guide.
To provide thorough error handling when using processes and files accessed by
#REQUESTER or #SERVER, wait for all related variables.