lua-users home
lua-l archive

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


On 1/4/11 2:18 PM, Leo Razoumov wrote:
On Wed, Dec 29, 2010 at 10:31, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
Let's not get into this discussion again: #t does not return anything useful
if t is "an array with holes".
There is a good reason why this question persistently comes up again and again.
Lua provides no good way to test whether a given array has holes or
not. Most of the time one relies upon leap of faith to trust #t
values. In that regard Lua quite successfully bridged a gap between
Coding and Religion:-)

--Leo-- 

Wow. You know what will happen now, yes?

*leaning back, waiting*

Henning