Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CLS Statement QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
CLS - a device I/O statement that clears the display screen
Syntax
CLS [{0|1|2}]
■ If all arguments are omitted, either the graphics viewport or the text
viewport are cleared, depending upon previous uses of VIEW statement.
■ 0 clears the screen of all text and graphics.
■ 1 clears only the graphics viewport, if it is active.
■ 2 clears only the text viewport, leaving bottom screen line unchanged.
See Also ◄VIEW► - to see how to activate the graphics viewport
◄VIEW PRINT► - to see how to set the text viewport
◄WINDOW► - to see how to customize the graphics viewport