DLiteScript

io.deleteFile

Deletes the given file. Returns an error if the file does not exist.

Examples

1
io.deleteFile("data.txt") // deletes the file called "data.txt"
Improve this page