Re: 答复: Re: Maybe I found a bug in function unpack.
[
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: 2011年9月06日 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