Kill Statement

Deletes a file from a disk.

სინტაქსი

DIM sFile სტრიქონი როგორც

Parameters:

File: Any string expression that contains an unambiguous file specification. You can also use URL notation.

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err76 not found).

მაგალითი:

Sub ExampleKill

    Kill "C:\datafile.dat" ' File must be created in advance

End Sub