Note | This command is defined in a header file and will be preprocessed by the X# preprocessor to a function call. If you disable the standard header (-nostddefs) files then this command will not be available. If you tell the compiler to use a different standard header file (-stddef ) then this command may also be not available |
Close specified file type.
CLOSE [<xcAlias> | ALL | ALTERNATE | DATABASES | INDEXES]
<xcAlias> | The alias identifier for the work area where all files are closed. |
ALL | Closes database and index files in all work areas, releasing all active filters, relations, and format definitions. |
ALTERNATE | Closes the currently open alternate file. |
DATABASES | Closes all database, 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. |
INDEXES | Closes all index files and clears the order list in the current work area. |
CLOSE with no option closes the current database and associated files. A number of other operations close files as a side effect, but it is always a good idea to explicitly close files when you are finished using them.
XSharp.RT.DLL
DBCloseArea(), FClose(), SET INDEX, USE