SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-97
SEARCH
This example produces this output:
?MENU ChangeWhat
{---------------}
Cache name [ ]
Target text[ ]
New Text [ ]
?PROC Change
{-----------}
{ Accept "ChangeWhat" panel and pass request to ChangeCache proc
{---------------------------------------------------------------}
LINE #MENULINE,#MENUCOL; { Position to calling panel
VARIABLE #Cache, #Target, #NewText; { Declare variables
ACCEPT #Cache, #Target, #NewText; { Accept panel data.
EXE "WITH " & #Cache; { Get "WITH Cachename"
BELOW;
WINDOW #taskid CACHE FIRST SIZE 80,8; { Show cache before changes
IF #Target=""or#NewText=""THEN RETURN;
CALL ChangeCache(#TASKID, #Target, #NewText);
DOWN:8;
WINDOW #taskid CACHE FIRST SIZE 80,8; { Show cache after changes
?SECT main
{---------}
BESIDE; CW;
WINDOW ChangeWhat MENU "CALL Change"
FOR 3 SIZE 30 FIELDS(u);