Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myDocument = {"yolo"} --text to write to file
- myFile = fs.open("myFile.txt", "w")
- myFile.writeLine(myDocument[1])
- myFile.close()
- myFile, myDocument = fs.open("myFile.txt", "r") {}
- table.insert(myDocument)
- myFile.close()
- print(myDocument[1])
Advertisement
Add Comment
Please, Sign In to add comment