Definition: | bool res = delete_file(string filename) |
Description: |
Delete a file.
filename: the name of the file to delete. Returns: 0 (false) on failure, 1 (true) on success. |
Comments: | Unlike some other routines here, any path separators should be appropriate for the operating system, namely backslash ('\\') on Windows and forwardslash ('/') on Linux. |