SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-84
PUSH
where the file $data.test.prompt might contain this script:
VAR #p:= "?", #s, err;
DO BEGIN
PROMPT #p, #s, err;
MSG "#s=" & #s & ", err=" & err;
END UNTIL err;
Example #2
An advanced conversational interface script can be found in the file SEEISHEL, which
is distributed with the SeeView product.
PUSH
The PUSH statement copies a string expression onto the end of the cache associated
with a user task.
string-exp
specifies the string expression to be copied.
ONTO taskid
specifies the user task.
Considerations
When a null string, “ ”, is pushed, it is stored as such. However, a single blank, “ ” is
returned for a POP operation. This simple means tests for an empty cache.
PUSH string-exp ONTO taskid | *