SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-141
Brackets [ ]
Operator type and precedence are as follows:
(boolean) (relational) (arithmetic) (shift)
:= AND OR NOT > < >= <= <> = + - * / MOD >> <<
0 1 1 2 2 2 2 2 2 2 3 3 4 4 4 5 5
Example
This example shows how to use parentheses to specify operator type and precedence.
Brackets [ ]
The left bracket delimits the start of a mixed string and expression list statement. A
right bracket ends the list.
string-or-expression-list
specifies a comma-separated list of string and integer expressions that is output
directly to the terminal at the current buffer address. Thus VAR #s:=“Hello”; LINE
10; [#s]; outputs “Hello” at line 10 of the current terminal page.
Example
This example shows how to use the left bracket to delimit the start of a mixed string
and expression list.
Left Brace {
The left brace delimits an end-of-line comment.
Considerations
The delimited comment remains in effect until the end of the line.
VAR row:=0 { draw stairs
,col:=1
;
WHILE (row:=row+1) < 25 DO BEGIN
LINE row; VIDEO(REVERSE DIM);
LINE row,(col:=col+1);
VIDEO ();
END;
[ string-or-expression-list ]
VARIABLE esc:=27;
[esc,"o","This text on line25",esc/2]; {note esc/2=13 which is a <CR>
{ comment-text-to-end-of-line