SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-28
CLEAR
CLEAR
The CLEAR statement clears data either from an entire page or, if entered from a
window, only from the window area.
Considerations
If you use the CLEAR statement to clear a page, all windows on that terminal page,
including edit-mode windows, are deleted. The processes associated with the window
still exist, and their interprocess communication context is unaffected.
If you use the CLEAR statement to clear the contents of a window and the data in the
window is also in the cache, the data still remains in the cache.
CLEARW
The CLEARW statement deletes windows on the current page but only in the area
defined. If a window is in edit mode in the area defined, an error message appears. If
no windows are on the page, nothing is cleared. If the area is not specified, the current
buffer address is used.
line
specifies an area to be cleared, in the range 1 through 24.
column
specifies an area to be cleared, in the range 1 through 80.
width
specifies an area to be cleared, in the range 1 through 80.
height
specifies an area to be cleared, in the range 1 through 24.
Example
This example shows the CLEARW statement displaying various options:
CLEAR
CLEARW [ line [, column [, width [, height ] ] ] ]
CLEARW { delete all windows on entire page
CLEARW 13; { delete all windows in lower half of screen
CLEARW 1,1,40,12; { delete all windows in upper left quadrant of screen