KILL

Updated July 2015; Comment added

KILL fspec

KILL erases/deletes a file.

Parameters

fspec is filespec in native or AMOS format. If no extension is specified, .DAT is assumed. Terminate the filespec with a dot to erase a file with no extension.

Comments

If the file does not exist, the statement behaves like a null operation—i.e., no error is triggered. So there is no particular need to do a LOOKUP prior to a KILL.