Clearing the Screen

The clear screen function, vs_clr() is provided to clear the screen:

void vs_clr()

This function clears the screen using the clear screen attribute. The clear screen attribute is a global variable and is initialized to LSYS (normal on monochrome and white on black on color displays). You can change this default with the set video clear attribute function vs_clratt()

:

void vs_clratt(att)

UCHAR att;    /* Attribute to clear screen with        */

You can also use the full screen window to clear the screen by calling wn_clr() for the full screen window FULL_WNP.


Home Contents Previous Next