lua-users home
lua-l archive

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


On Sun, Dec 16, 2012 at 6:49 PM, Philipp Janda <siffiejoe@gmx.net> wrote:
> Am I missing something here?
>
> function extend( t, ... )
>   for i = 1, select( '#', ... ) do
>     local a = select( i, ... )

Actually, you've got it there - these are not particularly fast
functions, but the number of tables is small, so this is efficient
enough.

steve d.