result = Exists(filename$)
filename$
exists and returns True
to
the variable result if it does. Otherwise result receives the value of
False
.
True
if the specified file exists, False
otherwiseresult = Exists("test.hws") Print(result)This tests whether the file "test.hws" exists in the current directory and returns
True
or False
.