KCML_Dir_List

Purpose

Returns a list of files and directories.

Definition

DEFSUB 'KCML_Dir_List(sDirectory$, syDirList AS SYM(KCMLString), syFileList AS SYM(KCMLString)) AS Bool

Parameters

sDirectoryName of the directory to list.
syDirListAn array to be REDIM'ed.
syFileListAn array to be REDIM'ed.

Description

Will REDIM and fill the given array pointers with a list of directories and files. The parameters syDirList or syFileList can be 0 if this data isn't required. Returns TRUE if successful or FALSE if it failed.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.