[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How to append argument(s) to ...?
- From: Atry <pop.atry@...>
- Date: Tue, 11 Nov 2008 17:15:38 +0800
I tried the follow code, but it seems not work.
function a(...) return ..., "a" end
assert(select(3, a(1, 2)) == "a");
Is there any way to append a argument to vararg without `{...}' and `unpack' ?