GetFileList

From Spheriki

Jump to: navigation, search

Gets an array of strings containing the file names within a directory.


Usage

array GetFileList(directory);
  • directory The directory to get a file list from. Defaults to "save" if not defined.


Examples

var files = GetFileList("scripts");

The variable files will now contain an array of the file names within the "scripts" directory.


See also

Personal tools