lua-users home
lua-l archive

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


> Ir is of course not quite correct to say that t[#t] is not nil but t[#t+1]
> is. The truth is that rawget(t,#t) is not nil but rawget(t,#t+1) is.

Not exactly. It is easy to redefine 'rawget' :-)  (If the idea is to
be pedantic...)

-- Roberto