SCREEN CLEAR

Clears the screen and establishes the application window (BACKSCREEN) as the current window.

Syntax

SCREEN CLEAR

Comments

The SCREEN CLEAR command clears the contents of the application window (BACKSCREEN), hides any other windows that are currently displayed, makes the application window the current window, and places the cursor at the top, left-hand corner of the application window.

Although hidden, all other windows remain open and active. To re-display the hidden windows, use either the SCREEN RESET or WINDOW DISPLAY BACKSCREEN HIDE command.

Example

window clear backscreen
window set current backscreen
window display backscreen

The SCREEN CLEAR command is equivalent to the preceding sequence of commands.

screen clear   % clear prev. data & expose application window
output "Output to printer? (y/n)" ;
input Response
if Response = "y"
 set output printer
endif
screen reset

 

Related Topics