f$FileExists (f$DateiVorhanden)
f$FileExists (f$DateiVorhanden)
Check if the specified file exists.
Please note that, when entering a path in the file name, the character "\" must be entered twice ("\\").
Syntax: | found = f$FileExists( Filename ) | ||
| Argument | Type | Meaning |
| Filename | String | File name including path |
Result: | Integer | 0: file does not exist | |
Example: | present = f$FileExists( 'c:\\customers\\customer.txt' ) | ||