f.exists()

Read(742) Label: exist, file object,

Description:

Check if a file exists.

Syntax:

f.exists()

Note:

The function checks if file f exists; return true if it exists, and false if it doesn’t exist.

Parameter:

f

A file

Return value:

Boolean

Example:

 

A

 

1

=file("D://p1.dfx").exists()

Return true if the file exists.

Related function:

f. date()

f. size()

movefile()