RosettaCodeData/Task/Delete-a-file/Lingo/delete-a-file-1.lingo
2016-12-05 23:44:36 +01:00

4 lines
132 B
Text

-- note: fileIO xtra is shipped with Director, i.e. an "internal"
fp = xtra("fileIO").new()
fp.openFile("input.txt", 0)
fp.delete()