[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Embedded 'nil' values - a suggestion
- From: "Couwenberg, Wim" <wim.couwenberg@...>
- Date: Tue, 7 Mar 2006 16:33:38 +0100
> The 'solution' cannot be "track the internal size yourself
> and iterate it yourself" specifically because it is
That works fine for me...
> impossible in 5.1 to pass nil values to vararg functions and
> know that the user explicitly passed an empty value.
It is possible. See also recent posts about this on this list:
http://lua-users.org/lists/lua-l/2006-02/msg00537.html
Specifically the "select("#", ...)" construct.
--
Wim
This message and attachment(s) are intended solely for the use of the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law.
If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the sender immediately by telephone and with a "reply" message.
Thank you for your cooperation.