[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1+ and variable-argument tables
- From: Wim Couwenberg <debosberg@...>
- Date: Wed, 18 Aug 2004 12:17:26 -0700 (PDT)
> If you really want a table with all parameters, you
> can collect them with <<{...}>>.
Unfortunately, this does not record the *number* of
arguments. A subsequent unpack call will clip at the
first nil entry. Does it make sense to add a `pack'
function to the base lib that sets the `n' field (as
the arg table did)?
--
Wim
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com