The global table

The one thing you really need to understand about Lua is that just about everything in it is a table. Global variables in Lua (variables not declared local) live in an invisible, global table. This table is exposed as _G. This global table is just like any other table in Lua; you can perform the exact same operations on it. This section will explore two methods of working with the functionality of the global table.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.95.245