SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-100
SHUTDOWN
expression
specifies a terminal page other than the one to which host data input and output is
currently directed. You cannot use values less than one.
Example
This example shows the SHOWPAGE statement.
SHUTDOWN
The SHUTDOWN statement stops the SeeView program and all associated user-
defined tasks.
EXCEPT TASKS
indicates that tasks are not stopped when SeeView is shut down.
EXCEPT PEERS
indicates that any peer tasks not declared directly via a TASK statement are not
stopped when SeeView is shut down.
Considerations
This statement is similar to pressing SF16 twice. That is, shutdown cannot occur if any
windows are in edit mode. This prevents accidental loss of edited text in any edit-mode
windows.
VAR pg:=0;
FOR 6 DO BEGIN {Display each page for 2 seconds
SHOWPAGE (pg:=pg+1);
WAIT 2;
END;
SHUTDOWN [ EXCEPT { TASKS | PEERS } ]