fdir
|
File Input/Output functions |
| SYNTAX | fdir( "wildcard", flags = 1 ) |
| RETURNS | STRING |
| FUNCTION | The function returns comma separated directory list (like "DIR" command) "wildcard" is a path with a wildcard pattern to match. For example "C:\*.*" will give you all files in C: drive, but "C:\*.txt" will give you only files with .txt extension. flags - controls what is returned the default is 1 - only files, 2 - only directories, 3 - both files and directories |
| EXAMPLE | printf( "Only
files:
" ); |
| SEE ALSO |
The fdir function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.