FileDelete
Jump to navigation
Jump to search
Deletes the specified file.
Syntax
bool fileDelete ( string filename [, resource res = getThisResource()] )
Required Arguments
- filename: the name of the file to delete.
Optional Arguments
- res: the resource containing the file to delete.
Returns
Returns true if successful, false otherwise (for example if there exists no file with the given name, or it does exist but is in use).
See Also
- fileClose
- fileCopy
- fileCreate
- fileDelete
- fileExists
- fileFlush
- fileGetPath
- fileGetPos
- fileGetSize
- fileIsEOF
- fileOpen
- fileRead
- fileRename
- fileSetPos
- fileWrite