Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.13 KB | None | 0 0
  1.     local good, data = pcall(f)
  2.     if good then
  3.         return data
  4.     else
  5.         print("Error:invalued data")
  6.         return "error"
  7.     end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement