Re: Global Variables
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Global Variables
- From: Alex Sandro Queiroz e Silva <asandroq@...>
- Date: 2008年3月31日 09:00:28 -0300
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