SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-68
MSG
Example
This example demonstrates the LOCK statement.
MSG
The MSG statement displays a specified message on line 25 of the terminal.
REVERSE, DIM, UNDERLINE, BLINK
specifies video highlighting of the message. You can specify one or more of these
video attributes, and you can abbreviate them to a single letter. You must enclose
each video attribute (or its abbreviation) in parentheses.
string-exp
specifies a string expression indicating the message to be displayed on line 25.
Example
This example shows the MSG statement.
?PROC StatusUser
{---------------}
{ Lock keyboard if we must start tacl
{------------------------------------}
TASK tacl;
IF #TASKSTART THEN
BEGIN { Let user know what's going on
LOCK; { while we wait for tacl prompt.
MSG "One moment, starting TACL";
FLUSH;
UNLOCK;
END
WINDOW tacl, "status *,user" CACHE LASTLINE;
MSG [ ( REVERSE | R ) ] string-exp
[ ( DIM | D) ]
[ ( UNDERLINE | U ) ]
[ ( BLINK | B ) ]
Note. The Seedit utility also has a MSG statement, different from this MSG statement.
IF #TAKE #TIME <12 THEN
MSG "GOOD MORNING"
ELSE
MSG "GOOD AFTERNOON";