Owner`s manual

54
I
KILL
#
(kill)
Stops file registration.
Format:
KILL
[#
<logical number>]
Abbreviated form:
KI.#
Explanation:
Stops registration of the file opened to <logical number>. In other words, the
file
making
is
prepared by the XOPEN #
or
WOPEN # statement,
or
stops, during
registration, the formal registration
of
the file thereafter executing the PRINT #
( )
or
PRINT
#.
If
the <logical
number>
is
not designated, the formal registration of the file
currently being made
is
stopped and, in addition;all files already opened are closed
and all <logical numbers> are returned to the non-defined condition.
Because the KILL command can be used as a direct execution command, this
command can be executed directly prior to exchange of the cassette tape, floppy
disk. In order to thereby protect the contents of all files by closing them.
Examples:
200
KI
LL
#3
..... Kills the file opened by the logical number
3.
300
KI
LL
..... Kills
all
files opened.
Reference:
XOPEN # (page 50)
WOPEN
# (page 48)