lua-users home
lua-l archive

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

On 21 Jul 2007, at 21:11, Merick wrote:

When loading binary modules, how does require() handle functions with the same name? For instance, if you've already loaded one module with a function named "screen", what would happen if you tried to load another module that has a different function that's also named "screen"?

As (by default) module foo is loaded into table foo, foo.screen will be different from bar.screen.


With regards
-- Stefan