lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] writes:

> wrote on 2011-09-06 11:56:17:

>> Nope. When you write:
>> c = {unpack(a), unpack(b)}
>> Since unpack(a) is not the last item in the list, only its first
>> return value is added to the table. It is a bit confusing...
> I thought this rule only applies to function before.

unpack is a function.

David Kastrup