_G: The Translator API
Contents
_G gives the ‘global’ table which has all the libraries and functions under it. So you can use it to browse the entire namespace. These screen snaps give a hint of what can be done. Here we can see all the Lua table library functions:
Doing print(_G) allows you to get a browseable tree of all the functions available, in this screen shot shows the expansion of the net.http namespace:
Deep auto-completion works nicely too if you know roughly what you are looking for:
You may also find the Iguana Translator Modules reference useful too.
Continue: Use '..' to join strings
Pingback: Will You Share Your Code? - iNTERFACEWARE Inc.