Moo_FolderList ( sFolder; sPattern; sSeparator );
This functions lists the files in a folder, optionally matching a file pattern.Parameters
| Name | Type | Required | Default | Description |
| sFolder | String | Yes | The input folder to be listed. | |
| sPattern | String | No | *.* | A file pattern to filter list files. |
| sSeparator | String | No | | | How to separate the output files. |
Return Value
Returns either a list of the files in the folder, or an error code.
Notes
Added in MooPlug Version 0.4.1.
Errors
| Error Code | Description |
| Moo_FolderList|Err_1 | Invalid number of arguments. |
| Moo_FolderList|Err_2 | Invalid source folder input. |
| Moo_FolderList|Err_3 | Input folder contains no files. |
Related Functions
