|
Navigation: TLuaFile > DeleteFile |
![]() ![]()
|
int DeleteFile(string sFileName)
Return values
Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.
Parameters
sFileName
Path and name of file to delete.
Remarks
Function deletes a file. Directories can not be deleted with this function.