ListFiles Data Member Function

Populates a Strlist with the contents of a directory on disk, including any sub-directories.

Prototype

int32 ListFiles( StrList p_oFiles, string p_sMask, int32 p_bDirs )

Parameters

Parameter Type Parameter Name Documentation
<StrList>p_oFilesA pointer to the <StrList> that stores the file paths.
stringp_sMaskA file mask such as "*.box" or similar.
int32p_bDirsIf true, directories are listed as well.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.