ISFILE Function  

Purpose

Determine whether or not a file exists.

Syntax

FileExists& = ISFILE(FileName$)

Remarks

The file subsystem is checked to determine whether the file or directory specified by FileName$ currently exists.  If it is found in any form (hidden, system, read-only, etc.), the value true (-1) is returned.  Otherwise, the value false (0) is returned.

See also

DIR$, PATHSCAN$