FileExists

Description:

baFileExists reports whether or not a specific file exists.

Platforms:

Windows and Macintosh

Usage:

Result = baFileExists( FileName )

Arguments:

String.
FileName is the name of the file. It should include the full path name.

Returns:

Integer.
Returns 1 if the file exists, otherwise 0.

Examples:

Director:
File = baFileExists( the pathName & "test.dat" )

Authorware:
File := baFileExists( FileLocation ^ "test.dat" )
 

See also:

baRenameFile
baFolderExists