Function DeleteFile() Foundation

Deletes a file and handles OS errors.

Syntax
DeleteFile( <cFileName> ;
          ) --> nErrorCode
Return

Possible return values correspond to #define constants found in XBTSYS.CH

Return values of DeleteFile()
Constant Description
NO_DISK_ERR File was deleted successfully
ER_FILE_NOT_FOUND File not found
ER_PATH_NOT_FOUND Invalid path was specified
ER_ACCESS_DENIED Access denied

Description

The parameter <cFileName> must contain a complete filename without "wild cards".

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.