Equinox Online Help - Language Reference - A to Z
FileSearchClose |
|
---|---|
Applies to | |
Syntax | FileSearchClose [BufferItem] |
Action | [Statement] releases operating system resources associated with a previous FileSearch statment. |
Scope | Usable anywhere |
Notes | If BufferItem was supplied to the FileSearch, it should be supplied to FileSearchClose. After this statement is executed, FileSearchNext will return an error. Equinox tries to clean up if this statement is not used, however if FileSearch is called many times with BufferItem, unexpected results may occur. The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero. |
Category | File Management |
See Also | ChooseFile, FileDelete, FileDetails, FileExists, FileHandle, FilePath, FileRename, FileSearch, FileSearchNext, MakeDirectory, RemoveDirectory |
Example | An example of the use of FileSearchClose can be found in the entry for FileSearch |