FileExist(‘filename’)
Section titled “FileExist(‘filename’)”| Argument | Beschrijving |
|---|---|
| String | Een string die de bestandsnaam aangeeft |
Gegevenstype: Boolean Retourneert de waarde true als het bestand bestaat en de waarde false als het niet bestaat.
Voorbeeld:
Deze expressie retourneert It is there als het bestand bestaat en Not found als het bestand niet bestaat.
If ( FileExist(‘c:\myfolder\myfile.txt’ , ‘It is there’ , ‘Not found’)