scan_directories
| name&dimensionality | kind | in/out | description |
|---|---|---|---|
| directories | CHR | IN | contains the set of directories (up to 20), separated by an ASCII
character of value < 32 (see concatnl). During the
search, it is assumed that the
given directories and filename can be separated by nothing,
a / (slash) or a |
| filename | CHR | IN | the file to be found. |
| fullpath | CHR | OUT | returns the full path to the first occurrence of the file among the directories provided. Empty if the file is not found. The search is not recursive. |
| var | LGT | OUT | set to true if the file is found, to false otherwise. |
Search for 'myfile' in the directories 'dir1', '/dir2', '/dir2/subdir1/'
Version 3.31, 2016-08-26