de la ayuda de clarion
REMOVE(file)
REMOVE Deletes a FILE.
file The label of the FILE to be removed, or a string constant or variable containing the filename of the file to erase.
The REMOVE statement erases a file specification from the operating system directory in the same manner as the DOS "Delete" command. The file must be closed, or the "File Already Open" error is posted. If any error is posted, the file is not removed.
Since some file drivers use multiple physical disk files for one logical FILE structure, the default filename and extension assumptions are dependent on the file driver. If any error is posted, the file is not deleted.
Errors Posted: 02 File Not Found
03 The system cannot find the path specified.
05 Access Denied
52 File Already Open
Example:
REMOVE(OldFile) !Delete the old file
REMOVE('Changes.dat') !Delete the changes file