![]() ![]() The above command creates the array named dirarray and creates one row for the directory FOXPRO2. For example: ?ADIR(dirarray,'FOXPRO2','D') The ASCAN() function can then be used to determine if a matching directory entry was placed in the array. can contain the letters D, H, S, or V to limit the results to directory names, hidden files, system files, or the volume name, respectively. ![]() Only filenames matching the template will be placed in the array. is optional and can be used to specify a template filename, such as C:\FOX* or *. The resulting array contains five columns, containing filenames, sizes, dates, times, and attributes, respectively. This usage of NUL is not supported by versions of MS-DOS prior to version 3.0.ĪDIR() places file information in an array.
0 Comments
Leave a Reply. |