Guest User

file.lua

a guest
Jan 19th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.12 KB | None | 0 0
  1. f = io.open('log', 'w')
  2. assert(f)
  3.  
  4. function my_func(arg)
  5.     f:write('my_func is called with arg=' .. arg .. '\n')
  6. end
Add Comment
Please, Sign In to add comment