[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Global Variables
- From: "David Burgess" <dburgess@...>
- Date: Mon, 31 Mar 2008 22:41:31 +1000
untested
local G = _G;
module "mymod"
G.variable = avalue
then
require "mymod"
print(variable)
should do it.