Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.281 getfiles

getfiles(directory [, maxfiles])

Returns, in a string array, a list of names of files from the directory. Names of subdirectories or of files in subdirectories are not included. If maxfiles is specified, then at most that many file names are returned. If it was not specified, then at most 100 file names are returned. The file names are absolute, i.e., include specification of the exact directory where they were found. If no files are found, then scalar 0 is returned.

See also: findfile, getfiles_r