22.11.7.2 Output File List

The list of files that exist in the specified folder is written in the Internal Device. Parameter 1 indicates the CF Card data folder. Parameter 4 indicates the offset used to select a file/files within that folder. Parameter 3 indicates the number of files selected within that folder. Parameter 2 specifies the LS Area into which the files will be written. When the offset is specified as "0", the list starts from the first file.

_CF_dir/_SD_dir/_USB_dir (folder name, save in addresses, number of files, offset)

Example expression:

To output a file list containing two files when the offset is 1 (second file):

_CF_dir ("\DATA\*.*", [w:[#INTERNAL]LS0100], 2, 1)

When the statement above is executed while the following files exist in the DATA folder, file names "DATA0001.BIN" and "DATA02.BIN" are written to LS0100 and later areas.

For example, when Text Data Mode = 1