Quote:
Originally Posted by ericshliao
Another question: How do I know if certain function can be access through lgob, and in what form?(
|
A cool tool is the Navigator example in the lgob distro: you can load any Lua module (such as lgob.gdk), and view al functions and constants that are in i
I also wrote a function 'pr()' (included in MiniPad.tgz), which recursively prints any Lua variable. The top table in Lua is '_G'. So if you load some modules with require, and then do pr(_G), it will show you all variables (including all known modules and functions)
Happy Lua!