lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



I need to find out (dynamically) if a certain lua module has some functions and variables defined. I also need to set some module variables (dynamically).
After some googling I came across _G, is this how you can check if a function/variable exists in a lua module? Can you also use this to dynamically assign variables to lua modules?

Vineet