NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
unsigned int DeleteFile ( string  fname)
inline

Delete a file.

Delete the specified file. The loader result code is returned as the value of the function call. The filename parameter must be a constant or a variable.

Parameters
fnameThe name of the file to delete.
Returns
The function call result. See Loader module error codes.
Examples:
ex_delete_data_file.nxc, and ex_DeleteFile.nxc.