KILL statement

Purpose:

KILL is used to delete a disk file. Use this command with caution!

Syntax:

KILL FileName AS STRING

Parameters:

  • Data type: STRING
    FileName name of file to delete from disk.

Remarks:

String expressions need not be wrapped in parentheses. For example, the following is a valid statement.

KILL "foo" + UCASE$("bar") + ".ext"

BCX Console Sample Programs using the KILL statement.