CLOSE
Close a specific set of files
Syntax
CLOSE [<idAlias> | ALL | ALTERNATE | DATABASES | FORMAT | INDEXES]
Arguments
<idAlias> specifies the work area where all files are to be closed.
ALL closes alternate, database, and index files in all work areas, releasing all active filters, relations, and format definitions.
ALTERNATE closes the currently open alternate file, performing the same action as SET ALTERNATE TO with no argument.
DATABASES closes all open databases, memo and associated index files in all work areas, and releases all active filters and relations. It does not, however, have any effect on the active format.
FORMAT releases the current format, performing the same action as SET FORMAT TO with no argument.
INDEXES closes all index files open in the current work area.
Description
CLOSE is a general purpose command that closes various types of Clipper files depending on the specified option. CLOSE with no option closes the current database and associated files, the same as USE with no arguments.
In Harbour, a number of other commands also close files including:
. QUIT . CANCEL* . RETURN from the highest level procedure . CLEAR ALL* . USE with no argument
Seealso
QUIT, RETURN, SET ALTERNATE, SET INDEX, USE