lua-users home
lua-l archive

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


Michael Roth wrote:

> I would like to do the opposite of unpack(). Example:
> 
> function test()
>    return 1, 2, 3
> end
> 
> t = pack(test())
> 
> print(t[1])

   function pack(...)
      return arg
   end

--
Markus