[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: use of gettop to change functionality
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 1 Mar 2011 18:01:01 -0300
> [...] This is why I advocated having
> table.pack accept a table argument...
The problem is that this argument cannot be optional, and the use of
table.pack({}, ...) is not as good as the original version, as the
table is created with size 0 in this case.
Maybe 'table.pack(nil, ...)' could mean 'create your own table', but
that is ugly...
-- Roberto