Skip to content

dir()#

Syntax
dir( path, location, entries var )

Returns#

Returns the number of files found or 0 (zero) if none are found. The parameter entries returns an array of file names found.

Parameters#

Parameter Description
path The path to a directory relative to the location
location “data” or “script”
entries array of resultant file names