SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-29
CURSOR
CURSOR
The CURSOR statement specifies where the cursor should be placed on the current
terminal output page, defined by the PAGE or SETPAGE statements.
The upper-left corner of the screen is location 1,1. The lower-right corner is 24, 80.
line-exp
specifies the vertical line number location. Absolute line numbers range from 1
through 24, top to bottom of the screen.
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.
Example
This example shows the CURSOR statement displaying various options:
DECLARE
The DECLARE statement declares string and integer variables. The DECLARE
statement and the VARIABLE statement are equivalent.
variable
specifies the symbolic variable name of a string or integer variable. If you prefix
variable with a pound sign (#), it represents a string variable. Otherwise, it
represents an integer variable. String variables can contain up to 132 characters
and have an implicit length associated with them. Integer variables represent 16-bit
signed integers.
A variable name can be any combination of alphanumeric characters up to 16
characters in length. Variables can be initialized when declared and can reference
intrinsics or other previously declared variables.
The scope of string and integer variables is global when declared in a ?SECTION
and local when declared in a ?PROCEDURE.
CURSOR line-exp [, column-exp ]
CURSOR 1; { Position cursor on line one, column one.
CURSOR 24,80; { Position cursor on line 24, column 80.
DECLARE variable [:= initialization-exp ] [, variable ...]