CFileDlg:Start
The Start method begins iteration over the list of file names returned by the Open method.
CFileDlg:Start() This method has no parameters or return value. |
This method initializes the iteration for fetching the file names selected in the Open dialog. Use the Next method to return each of the successive file names.
The following example uses Start to initialize a loop over files returned by the Open method:
|
-- create a CFileDlg object, F |
|
-- set the flag for selecting more than 1 file |
|
-- allow selecting up to 100 files |
|
-- get a file name |
|
-- create a table to hold the file names |
|
-- setup an index counter |
|
-- initialize the file name iteration |
|
-- loop until a nil file name is returned |
|
-- save the next file name |
|
-- exit the loop when a nil file name is returned |
|
-- save the file name in the table |
|
-- increment the table index |
|
|
-- next statement following the loop |
|
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.