Returns whether the specified file object refers to an existing file.
Syntax
exists( file )
file.exists( )
Parameters
file
|
the file object being checked.
|
Returns
boolean
|
true if file exists.
false if file does not exist.
|
Example
fh = File( storage )
if fh.exists( ) then
println( "storage file already exists" )
exit( -1 )
end
|