SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-63
LINE25
Example
This example shows the LINE statement.
LINE25
The LINE25 statement emits a line 25 escape sequence. Text and video emitted after
the LINE25 statement appears in the line 25 status portion of the screen rather than
the current screen buffer address. (See also the MSG statement.)
To terminate the LINE25 escape sequence, use either the BELL statement or a
carriage return character.
Example
This example shows the LINE25 statement.
?PROC GraphCpus( #cpulist )
{-------------------------}
PARM #cpulist; { list of cpu numbers
VAR count:=0 { number of CPUs in #cpulist
, height { height of graph
, cpu { cpu number
, L := 1 { logical line number
,#cpus := #cpulist
;
WHILE #TRIM #cpus<>"" DO count:=count+1;
height := 24/count;
DO BEGIN
LINE L;
cpu := #TRIM #cpulist;
GRAPH cpu.busy KEY [cpu]
GRID 0 INVERT MASK(12m,6s)
HEAD "Cpu " & cpu & " Busy"
SIZE 80,height;
END UNTIL (L:=L+height)>24;
LINE25
LINE25; PAGEMSG; BELL;