lua-users home
lua-l archive

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


Hallo,

Michael Elliott wrote:

If call the module from a parent script (via require
"myscript.lua") then print the value of the the
variables from the parent script they are nil.


Are you using module(...) inside myscript.lua? If yes, then your "globals" are actually inside the module table.

Cheers,
-alex