RosettaCodeData/Task/Delete-a-file/Lingo/delete-a-file-1.lingo
2023-07-01 13:44:08 -04: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()