◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── Clears various parts of the display screen; not available when forms are showing. Use the CLS method when forms are showing. See: ◄CLS Method► CLS [0 | 1 | 2] ■ Valid settings are: Value Description ═════ ══════════════════════════════════════════════════════════════ None By itself, CLS clears either the text or graphics viewport; if a graphics viewport has been set (using VIEW), only the graphics viewport is cleared; otherwise, the text viewport or entire screen is cleared 0 Clears the screen of all text or graphics 1 Clears the graphics viewport or the entire screen if a graphics viewport has not been set 2 Clears the text viewport See Also ◄CLS Method► ◄VIEW PRINT Statement► ◄VIEW Statement► ◄WINDOW Statement►