SeeView Manual

HP NonStop SeeView Manual526355-004
7-1
7 SeeView Interpreter Interface
The SeeView language interpreter accepts statements from:
Window Sills
Menu Production
Disk Files or Text Caches
Edit-Mode Windows on the Help Page
Window Sills
You can execute SeeView statements directly by entering them on a window sill and
pressing Return or, if the window is not free, Shift-Return. You use the OPEN
statement often in this manner.
Entering HELP from a free window provides a summary of all SeeView statements and
function key operations. Entering HELP statement or HELP function-key
provides a reference description of the statement or function key specified.
Menu Production
You can also execute statements from menu productions. If you place the cursor in a
window declared as a menu and press Return, the line designated by the cursor is
analyzed to determine if it contains a production symbol (<==). If it does, the SeeView
statements to the right of the symbol are executed. This provides an extremely simple,
and convenient way to execute SeeView statements.
SeeView statements can also be associated with menu items that do not contain a
production symbol. The WINDOW statement lets you associate a default production
and a shift production with a menu. You can execute a default production by pointing
the cursor to a menu item that does not contain a production symbol and pressing
Return. You can execute a shift production when you select any menu item and press
Shift-Return.
Default productions and shift productions provide a powerful way of associating
procedural rules with entire sets of menu items and the objects that they represent.
Disk Files or Text Caches
You can use the INVOKE statement to execute SeeView programs contained in any
EDIT file or memory cache.
In addition, you can execute the file-name or cache specified with the ALTER
SHELL statement by pressing SF15. This action is referred to as reshelling. The
SHELL file name is initially determined according to the rules described in Appendix A,
Running the SeeView Program.