lua-users home
lua-l archive

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

On 3-Sep-05, at 4:44 PM, Stukov wrote:

lua_dostring("require "A" ")

Am I missing something obvious here? Why don't you just say:

  require "A"

That would have a fighting chance of working with the new modules system.

In general, I'd say that defining hundreds of globals in a scattering of scripts is not the best possible design (in any language) but it could certainly be made to work.