This is an example of how to use the DeleteFile, TextOut, FormatNum, and Wait functions.It is useful for deleting the circles.dat file created by the program described in the ex_file_system.nxc example.
// ex_delete_data_file.nxc
// Demonstates the use of the DeleteFile API call.
// Useful for deleting the circles.dat file created by the program described
// in the ex_file_system.nxc example.
#define FILE_NAME "circles.dat"
// Display a return code from a file sytem API call on the NXT screen.
// The codes most likely to be displayed are are:
// LDR_SUCCESS 0x0000
// LDR_FILENOTFOUND 0x8700
// See "Loader module error codes" to interpret any other code that appears.