Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dump (prefix, a)
- for i,v in pairs (a) do
- if type(v) == "table" then
- dump(prefix .. '.' .. i,v)
- elseif type(v) == "function" then
- print (prefix .. '.' .. i .. '()')
- end
- end
- end
- dump('_G',_G)
Advertisement
Add Comment
Please, Sign In to add comment