Help > REFERENCE OF THE BUILT-IN FUNCTIONS > User Interface and Graphics > cls



Clear the attached screen device and fill the screen with the currently selected background colour.

The background colour is the one set by the gpattr() function. Its default value is 0 and in the vast majority of displays that corresponds to black colour.

If the current background colour is set as transparent, the function will use colour 0 for clearing the screen.

On the system console outputs 250 blank lines.