CFileList Class Description
The CFileList class opens and processes a Mira file list. A file list is a text document containing a set of file names, one per line. In the Mira user interface, file lists are saved in .axf type files, but this class can open a file list from any file type. To use the CFileList, create the object using new or new_filelist, then iterate over the files using Next. The CFileDlg and CFindFiles classes have some similar capabilties.
Construction |
Object = new_filelist() Object = new_filelist( sFileName ) Object = new_filelist( CFileList ) Object = CFileList:new() Object = CFileList:new( sFileName ) Object = CFileList:new( CFileList ) |
Destruction |
Object:delete() |
This function is normally used to create a new CFileList object as an alternative to the class-based new method.
Creates a new instance of a CFileList object. |
Creates a new instance of a CFileList object. Various constructors are available. |
|
Deletes the instance of the CFileList object. |
Returns the number of files in the file list. |
|
Opens access to a file list object when a CFileList object already exists. |
|
Begins iteration over file names. Used with Next. |
|
Returns the next file in the file list. |
|
Closes access to the file list, but does not delete the CFileList object. |
Contents, Directory Functions, CFileDlg class, CFindFiles class, Script Classes, GetFileList, CFile
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.