lua-users home
lua-l archive

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


In Lua 5.1 you can use "load" in Lua and in its callback function either
handle "#include" or first return the contents of your definition files
and then the contents of the actual file. The two contents will be treated
as part of the same chunk and so "local" will work.

In 5.0 you can do the same thing but it has to be in C.

So, short answer: sorry no support for includes.
--lhf