FANDOM


Returns an integer value of one if the specified file exists, otherwise zero is returned.


Syntax
Return Integer=FILE EXIST(Filename)
Parameters
Filename

String
The name of the file to check

Returns

will return an integer value of one if the specified file exists, otherwise zero is returned


Example Code
cls

print "file exist= "+file exist("dogdo.txt")

do

loop

end
Community content is available under CC-BY-SA unless otherwise noted.