Chapter 14. Statement Reference
240
Syntax:
KILL "[drivename:]filename"
Parameter:
"[drivename:]filename"
A string expression.
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 mem-
ory.
• A file to be deleted should be closed beforehand.
Syntax errors:
Run-time errors:
File I/O statement
KILL
Deletes a specified file from the memory.
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.
Error code
Meaning
02h
Syntax error
(The format of
"[drivename:]filename"
is not correct.)
35h
File not found
37h
File already open
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...