[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 答复: Re: Maybe I found a bug in function unpack.
- From: David Kastrup <dak@...>
- Date: Tue, 06 Sep 2011 07:56:17 +0200
hei.minglei@zte.com.cn writes:
> lua-l-bounces@lists.lua.org 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