lua-users home
lua-l archive

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


Hi Sean

Thanks for your response and thanks to Tomás, David and Steve too.

If I understand this right could someone do this:
mainloop = {}
local mainLoop.library1 = {}
local mainLoop.library2 = {}
cont....

Then would the "main loop"(for lack of better term) have access to the library code but the library code would not have access to other libraries?

To split it up into a variety of files could one just use dofile() to connect it all together?

Could such a layout scale up into the 10's of thousands of lines of code?

Thanks again-Patrick