lua-users home
lua-l archive

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


On Sat, Oct 1, 2011 at 7:25 PM, Thijs Koerselman
<thijskoerselman@gmail.com> wrote:
> What the heck am I missing?

The special magic you require only works at the _end_ of a table constructor.

{unpack{1,2},3} ends up being {1,3}, since the extra return value is discarded.

steve d.