Technical Information

Application Development Manual | Deleting files

Deleting files

Function

Delete a file.

Syntax

Detailed Description

The KILL statement deletes the specified data file. It discards not only the data in the data file, but also the field structure and other file information.
This statement also deletes the specified program file.

Deleting a file releases the corresponding memory for use by other data files and the user application program.

The BHT cannot delete a data file that is currently open or a user application program that is currently running.

Example

Delete data file TESTDATA.DAT

  kill "TESTDATA.DAT"

Delete user application program TEST.PD4

  kill "TEST.PD4"

Contact us

QBdirect