xHarbour Reference Documentation > Command Reference |
Closes files in all work areas and releases all dynamic memory variables.
CLEAR ALL
The CLEAR ALL command closes all databases and associated files, like index and memo files, releases all dynamic memory variables (PRIVATE amd PUBLIC variables), closes alternate files, and finally selects work area 1 as current. As a result, all resources related to work areas and dynamic memory variables are released.
Note: GLOBAL, LOCAL and STATIC memory variables cannot be released with CLEAR ALL. Also, files opened with FOpen() remain open.
See also: | CLEAR MEMORY, CLOSE, RELEASE, RESTORE, SAVE, USE, SET ALTERNATE, SET PRINTER |
Category: | Memory commands |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com