NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_sysfiledelete.nxc

This is an example of how to use the SysFileDelete function along with the FileDeleteType structure.

task main()
{
fdArgs.Filename = "myfile.txt";
SysFileDelete(fdArgs); // delete the file
}