Skip to content
Andrew Owen edited this page May 25, 2023 · 1 revision

CLS


CLS [x]

Clears the screen or part of it. If x is not specified, in SCREEN 0 the text view region is cleared; in other screens, the graphics view region is cleared. The comma is optional and has no effect.

Parameters

x is a numeric valued expression that determines what is cleared:

Notes

  • If x = 0, the whole screen is cleared.
  • If x = 1, the graphics view region is cleared.
  • If x = 2, the text view region is cleared.

Errors

  • x is has a string value: Type mismatch.
  • x is not in [-32768 to 32767]: Overflow .
  • x is not in [0, 1, 2]: Illegal function call.
  • If an error occurs, the screen is not cleared.

Welcome to the SE BASIC wiki


  • Press RETURN to return to this menu.
  • Enter the name of a TOPIC to display it.
  • Enter EXIT to return to BASIC.

Choose from the following topics:

  1. Quick start guide: QUICK
  2. User's guide: USER
  3. Configuration guide: CONFIG
  4. Language guide: LANGUAGE
  5. Language reference: BASIC
  6. Technical reference: TECH
  7. Developer's guide: DEV
  8. Acknowledgemets: CREDITS
  9. Licenses: LICENSE
Clone this wiki locally