PDA

View Full Version : Directory Listing?


Keith Hunniford
06-16-06, 07:37 PM
Did we ever impliment a way to return a directory listing of files?

Keith

aGorilla
06-16-06, 08:18 PM
http://docs.smallbusiness.miva.com/en-US/merchant/5/help/empresa-devnotes.txt

The new built-in function "dir" takes three parameters:
dir( path, location, entries var)
path - The path to a directory
relative to the location.
location - the value "script" or "data". Anything
else will use the default "data".
entries - array of resultant file names.
Returns
Count of entries in the "entries" variable.