CFindFiles:Close
The Close method closes file searching for the CFindFiles object and frees memory. It does not delete the current CFindFiles object.
CFindFiles:Close() |
Call this method to terminate searching in a folder. If you plan to call Open more than once for this CFindFiles object, then Close must be called before Open can begin a new file search.
The following script lists files inside the folder specified by the string sFolder and the filename template "h*.fts"
|
-- Create a new CFindFiles object |
|
-- specify thefolder and template |
|
-- Iterate to the next file |
|
-- list the current path name |
|
|
|
-- finished with this object |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.