Command CLEAR ALL Foundation
Closes all files and releases all PRIVATE and PUBLIC variables.
CLEAR ALL
The command CLEAR ALL closes all files open in all work areas and releases all memory variables declared as PRIVATE or PUBLIC. After CLEAR ALL, the first work area is selected and an empty array is assigned to the PUBLIC variables GetList (for use by the Get system) and PromptList (for use by the menu system).
CLEAR ALL exists only for compatibility reasons. Files should be closed with the command CLOSE. Dynamic memory variables (PRIVATE and PUBLIC variables) should be released using RELEASE.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.