lua-users home
lua-l archive

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


>Is there an __easy__ way to propagate a variable number of
>arguments to subfunctions without getting nested
>argument tables ?

Use "call". In your example, foo would be:

return call(sum, arg ) -- return sum

--lhf