RosettaCodeData/Task/Delete-a-file/GAP/delete-a-file.gap

6 lines
116 B
Plaintext

# Apparently GAP can only remove a file, not a directory
RemoveFile("input.txt");
# true
RemoveFile("docs");
# fail