Next: getenv, Previous: getdirectories, Up: Internal Routines [Contents][Index]
getdirects(directory [, maxfiles])
Returns, in a string array, a list of names of subdirectories that
reside in the directory
. If maxfiles
is
specified, then at most that many subdirectories are returned.
Otherwise, at most 100 names are returned. If no subdirectories are
found, then scalar 0
is returned.
Alias: getdirectories
See also: findfile, getfiles, getmatchedfiles