SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-113
VARIABLE
char
specifies a single character that you can use to smear expression times in the 
indicated direction. Smear means to use the specified char to mark all locations 
moved through by the move operation. For example:
RIGHT:3:# DOWN:3:# LEFT:3:# UP:3:#
This command draws a box:
###
# #
###
See also the DOWN, LEFT, and RIGHT statements.
Example 
This example shows the UP statement.
VARIABLE 
The VARIABLE statement declares string and integer variables. The VARIABLE 
statement and the DECLARE statements 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 sixteen 
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. 
initialization-exp
specifies an optional initialization expression used to initialize the value of the 
declared variable. 
The initialization-exp can be either an integer expression such as (5+x/60), 
or a string expression such as "THE TIME IS " & #TIME.
U:i:# {Moves the current value of variable i smearing "#". 
VARIABLE variable [:= initialization-exp ] [, variable ... ]               










