Advertisement
bigflipperfish

test

Apr 4th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. local function nilTest(arg1,arg2)
  2. if arg2 == nil then
  3. arg2 = "nothing"
  4. end
  5.  
  6. print(arg1)
  7. print(arg2)
  8. end
  9.  
  10. print("TESTING...")
  11.  
  12. nilTest(1)
  13. print(" ")
  14. nilTest(1,"something")
  15. print(" ")
  16. nilTest("something",7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement