lua-users home
lua-l archive

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


On Aug 7, 2010, at 4:36 PM, HyperHacker wrote:

> Two modules in one file would be a simple matter of:
> local M, N = {}, {}
> ...
> return M, N
> ...
> myModule, myOtherModule = require('moduleM')

Multiple return values are not supported by require as far as I know.