SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-62
LET
LET
The LET statement assigns an integer variable to the value of an integer expression.
designational-exp
specifies the integer variable assignment. The integer variable is followed by a
colon and equal sign (:=) and the integer expression that is assigned to the integer
variable.
Considerations
Including the LET term in the statement is optional. (See the next example.)
You can also specify integer assignments with a statement that begins with a left
parenthesis.
Example
This example demonstrates the LET statement.
LINE
The LINE statement defines the current buffer address where the data generated by
SeeView statements is to appear on the current screen page. Use the PAGE or
SETPAGE statements to define the current screen page.
line-exp
specifies the vertical line number location. Absolute line numbers range from 1
through 24, top to bottom of the screen page.
column-exp
specifies the horizontal column location. Absolute column numbers range from 1
through 80, left to right. If you do not specify column-exp, column 1 is assumed.
Considerations
The upper left corner of the screen is LINE 1. The lower right is LINE 24, 80.
LET designational-exp
LET x:=x+1; {
x:=x+1; { Are equivalent statements
(x:=x+1);
LINE line-exp [ , column-exp ]