EXIST

EXIST (file)

Returns true if file exists.

Example

if(exist("test.bas")) then
    print "test.bas exists"
endif