QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

The KILL statement deletes a file designated by a STRING value or variable.

Syntax

KILL fileSpec$

Example(s)


KILL "C:\QBasic\data\2000data.dat"

See Also