[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to append argument(s) to ...?
- From: "Duncan Cross" <duncan.cross@...>
- Date: Tue, 11 Nov 2008 11:26:44 +0000
On Tue, Nov 11, 2008 at 11:14 AM, Jun Wu <firstname.lastname@example.org>
And I suggest t be a local variable.
Since unpack() do the trick, the code can be shorten to:
return unpack(..., "a")
Hope it helps.
No, it can't - that is the point, you cannot just use "..., something" and expect it to add "something" onto the end.
Also, using unpack() directly on "..." will not work. It is expecting a table only.
Finally, the technique of putting "..." into a temporary table and using unpack on it was already mentioned in the original post. Atry's already aware of it and was asking if any better alternative methods exist.