SysFileDelete

>>-SysFileDelete(file)-----------------------------------------><

Deletes a file. SysFileDelete does not support wildcard file specifications.

Parameter:

file

The name of the file to be deleted.

Return codes:

0

File deleted successfully.

2

File not found.

3

Path not found.

5

Access denied or busy.

26

Not DOS disk.

32

Sharing violation.

36

Sharing buffer exceeded.

87

Does not exist.

206

File name exceeds range error.

Example:

/* Code */
parse arg InputFile OutputFile
call SysFileDelete OutputFile   /* unconditionally erase output file */