Deletes the specified file object and returns whether the file was successfully deleted.
Syntax
delete( file )
file.delete( )
Parameters
file
|
the file object to be deleted.
|
Returns
boolean
|
true if file was deleted
false if file was not deleted
|
Example
fh = File( tempFile )
fh.delete( )
|