Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. function readAll(file)
  2. local f = assert(io.open(file, "rb"))
  3. local content = f:read("*all")
  4. f:close()
  5. return content
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement