SeeView Manual

SeeView Language Elements
HP NonStop SeeView Manual526355-004
5-19
Modeless Prompts
When you press a function key, the ACCEPT statement completes, the prompt is
erased, the procedure returns the user response text “$DATA.SEEC20” in the #subvol
parameter, and ?PROC Fileinfo displays the output shown in Figure 5-5.
Modeless Prompts
A modeless prompt is established when you associate a production with a window.
Example 5-9 is an example of a program that uses a modeless prompt. The directives
of the script function as follows:
?MENU Scratch declares a scratch cache to store window text images.
?PROC Prompt uses the input parameter #prompt to build a prompt production
and store it in the scratch cache. A menu window then appears on the formatted
prompt production. The procedure uses the input parameter #action as the default
menu production for this Prompt window. This #action production tells SeeView
what to do when you point to the prompt and press Return. Once this window has
been declared, the procedure returns control to the SeeView program so that you
can use this prompt as well as any other menu, window, or prompt.
Figure 5-4. Modal Prompt From the Program in Example 5-8
Figure 5-5. SeeView Output From the Program in Figure 5-4