Navigation:  TLuaFile >

GetDirectoryList

Previous pageReturn to chapter overviewNext page

string GetDirectoryList(string sDirectory)

Return values

Returns a string with the sub directories separated with a carriage return; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

sDirectory

Path of the directory to be searched.

Remarks

The return string contains all sub directories in the specified directory. Each directory is returned with its full path. Directories in string is separated with a carriage return sign.