Try OpenEdge Now
skip to main content
Programming Interfaces
HLC Library Function Reference : Function reference : prosccls( ) - Set Terminal To Raw Mode and Refresh
 

prosccls( ) - Set Terminal To Raw Mode and Refresh

The prosccls( ) function sets raw mode terminal I/O and refreshes the display. If you do not follow a call to proscopn( ) with a call to prosccls( ), ABL still calls prosccls( ) to refresh the frames on the display.
On successful completion, prosccls( ) returns 0; if the display is not active (such as in batch mode), it returns 1:

Syntax

int
prosccls ( restore )
int restore;
restore
If this input parameter has a non-zero value, the AVM refreshes the frames on the display. If it is 0, the AVM does not refresh the display.
Note: The prosccls( ) function sets raw mode terminal I/O only on character-mode systems. On all other systems, prosccls( ) just refreshes the display. For more information on terminal I/O modes, see HostLanguage Call Interface.
See Also:
proclear( ) - Clear the Display, promsgd( ) - Display Message, proscopn( ) - Set Terminal To Initial Mode