lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> 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:

Specifically the "select("#", ...)" construct.


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.