
220
____________________________________________________________________
File I/O statement
KILL
Deletes a specified file from the memory.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
KILL "[drivename:]filename"
Parameter:
Parameter:Parameter:
Parameter:
"[drivename:]filename"
A string expression.
Description:
Description:Description:
Description:
KILL deletes a data file or a user program file specified by "[drive-name:]filename".
• [drivename:] is used in conventional BHT series. In the BHT-100 series, it is merely for
the compatibility with their specifications. The drivename may be A: or B:, but it will be
ignored.
• The specified file will be deleted from both the data and the directory in the memory.
• A file to be deleted should be closed beforehand.
Syntax errors:
Syntax errors:Syntax errors:
Syntax errors:
Error code and message Meaning
error 3: ’"’ missing
No double quote precedes or follows
[drivename:]filename.
error 71: Syntax error
[drivename:]filename is not enclosed in
double quotes.
Run
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
Error code Meaning
02h
Syntax error
(The format of "[drivename:]filename" is not correct.)
35h
File not found
37h
File already open
Kommentare zu diesen Handbüchern