Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local table = {"Aus","An"}
- saveTable()
- function loadTable()
- local file = fs.open("data", r)
- local data = file.readAll()
- file.close()
- return textutils.unserialize(data)
- end
- function saveTable()
- local file = fs.open("data", w)
- file.write(textutils.serialize(table))
- file.close()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement