Kill Statement

Deletes a file from a disc.

Syntax:


DIM sFile Kao String

Parameters:

File: Bilo koji znakovni izraz koji sadrzi znakovne specifikacije. Mozete koristiti i URL notation.

Error codes:

5 Invalid procedure call

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

Example:


Sub ExampleKill
    Kill "C:\Users\ThisUser\datafile.dat" ' File must be created in advance
End Sub

Please support us!