Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local h = fs.open("test1", "w")
- h.writeLine("Hello1")
- h.writeLine("Hello2")
- h.writeLine("Hello3")
- h.close()
- local h = fs.open("test1", "r")
- local j = h.readLine(2)
- print(j)
- h.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement