lua-users home
lua-l archive

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


untested


local G = _G;
module "mymod"
G.variable = avalue


then

require "mymod"
print(variable)

should do it.