Skip to content

Instantly share code, notes, and snippets.

@walterlua
Created June 17, 2011 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walterlua/1030996 to your computer and use it in GitHub Desktop.
Save walterlua/1030996 to your computer and use it in GitHub Desktop.
print2 example
-- Example:
local t = { foo="bar", a=3, b=false, [" blah"] = "lah", ["12s{@#}$#)@*"]=3}
print2( t, "t" )
-- Output:
t.a = 3
t[" blah"] = lah
t.b = false
t["12s{@#}$#)@*"] = 3
t.foo = bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment