CloseFile
Terminates the association between file variable and an external disk file.
Structure
CloseFile(var F);
Parameters
Description
Due to naming conflicts, the CloseFile procedure replaces a Close procedure normally associated with basic scripting file operations. Use the CloseFile procedure instead of Close to terminate the association between a file variable and an external disk file.
F is a file variable of any file type opened using Reset, Rewrite, or Append. The external file associated with F is completely updated and then closed, freeing the file handle for reuse. |