DIRECTORY (DIR)
Syntax DIRECTORY 
(DIRECTORY word)
DIR
(DIR word)

 
Explanation DIRECTORY reports a list of file names in the current directory of the curent volume.

If DIRECTORY is used with an input, it reports the file names specified by its input. A ? may be used to match a single character except a period and a * may be used to match a group of characters not including a period.

DIRECTORY preserves the case of the name of the files it finds.

See also SUBDIR and CURDIR.
 
 

Examples DIRECTORY
Result: [TEST.LGO TEXT.LGO JUNK.LGO Terrapin.BMP] 
(DIRECTORY "*.LGO) 
Result: [TEST.LGO TEXT.LGO JUNK.LGO] 

TopIndex