SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-38
DOWN
DOWN 
The DOWN statement moves the buffer address down a row relative to the current 
buffer address. 
expression
provides 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 example draws a box:
###
# #
###
See also the UP, LEFT, and RIGHT statements.
Example 
This example demonstrates how to use the DOWN statement: 
END 
The END statement marks the ending of a compound statement. 
Example 
This example displays how to use the END statement: 
DOWN [: expression [: char ] ] 
DOWN:i:#  {Moves for the current value of variable i smearing "#".
DOWN   {Moves one.
DOWN:30  {Moves 30. Note that moves wrap around the screen.
END 
VAR rows := 24, cols:=80/4;
FOR rows DO BEGIN {Draw a herringbone
 FOR cols DO BEGIN
 VIDEO (REVERSE DIM) RIGHT:2 VIDEO() RIGHT:2
 END;
 LEFT:79; DOWN
END;










