This function is used for deleting one or more files in a partition.
Syntax |
i32 f_del (string fileName) |
||||||
---|---|---|---|---|---|---|---|
fileName |
Full path to the directory/file you want to delete. /fx/filename where: •x is the logical device identifier character (@, A, B, C, D, E) •filename is the name of the file with wildcards (* and ?) |
||||||
Result |
Returns:
|
||||||
Validity |
Task |
||||||
Note |
If functions regarding compact flash handling are used, it is recommended that bit 14 of the sys_cfg variable (0x00004000) be imposed to 1, to enable the use of safety routines for flash write/read |
Example of use:
|