If you're new to Lua you might not know about "_G". "_G" is the global table: the table containing all objects currently in global memory. All the Lua libraries are in there, any function or variable you define is there.
When writing a large program, it can be useful to have a look inside this "_G" table to find memory leaks or monitor variable values. To this end, I've written a simple visual
↧