SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-61
LEFT
Example
This example shows the INVOKE CACHE statement.
LEFT
The LEFT statement moves the buffer address left, relative to the current buffer
address. LEFT and L are synonymous and can be interchanged.
expression
allows for moves greater than one.
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 RIGHT
, DOWN, and UP statements.
Example
This example demonstrates the LEFT statement.
TASK myshell:=$foo CACHE 100; {declare cache for shell
DELETE myshell!; {clear cache
LOAD $system.system.SeeShell, myshell; {load SeeShell to memory
ALTER SHELL CACHE myshell; {so SF15 invokes memory version
INVOKE CACHE myshell; {invoke shell in memory
LEFT | L [ : expression [ : char ] ]
L:i:# {Moves for the current value of variable i, smearing #.
L {Moves one.
L:30 {Moves 30; note that moves can wrap around the screen.
R:10:-
D:10:|
L:10:-
U:9:| {Draws a box.