[DEVS] Function Dump
#5
That code won't print two-levels-deep tables, although I don't think we're using any of those, so it doesn't matter much. Be careful though of recursion - "_G" table contains all the globals, including itself, so "_G._G" is a table again, etc. Your code will print at least global functions twice - "assert" and "_G.assert".
Reply
Thanks given by:


Messages In This Thread
[DEVS] Function Dump - by Jarva - 02-04-2014, 03:18 AM
RE: [DEVS] Function Dump - by tigerw - 02-04-2014, 03:52 AM
RE: [DEVS] Function Dump - by Jarva - 02-04-2014, 04:03 AM
RE: [DEVS] Function Dump - by NiLSPACE - 02-04-2014, 04:09 AM
RE: [DEVS] Function Dump - by xoft - 02-04-2014, 04:59 AM
RE: [DEVS] Function Dump - by Jarva - 02-04-2014, 05:13 AM
RE: [DEVS] Function Dump - by xoft - 02-04-2014, 08:04 AM



Users browsing this thread: 1 Guest(s)