Login
Plus/4 EncyclopediaFirstBackNextLast

CLR Statement
Category
Reference/Commodore BASIC V3.5

Topic
CLR

This statement erases all variables, arrays and functions in memory, but leaves the program intact.

It will also reset the DATA pointer, disable any active GOSUBs, disable any active FOR or DO loops, disable TRAP, clear the contents of HELP, and deactivate any open files and any associated CMD redirects.

CLR is automatically performed when the RUN command or NEW command is given, or if any program editing is performed.

Abbreviation
C SHIFT+L



Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon