KILL

Function

KILL deletes a file in RAM storage.

Syntax

KILL filename

Example

KILL "FIRST.HBA"

Deletes FIRST.HBA.

KILL A$

Deletes the filename contained in A$

Remarks

In order to KILL a file the filename must be given either explicitly or only using the “?” wildcard. Variable names are accepted, but must contain actual filenames.

Note

If the file does not exist, then no action is taken and no warning message issued.

If wildcards are used, then all files which conform to the format are erased, e.g. if H.1 and H.2 exist as files, then:

KILL "H.?"

will delete both of them.