lua-users home
lua-l archive

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

Argh, infact they these are not examples of implementation defined behaviour.


I need a "sent in 10 minutes after you brain has engaged" email setting.

On 8 April 2013 15:54, liam mail <> wrote:

On 8 April 2013 14:25, Romeu Braz Pereira Gomes Filho <> wrote:
I was testing the # operator on a table and got some strange results.
The chunk used was:

t = {10, 20, nil, 40}
print(#t) --> 4 (should not be 2?)
t = {10, nil, nil, 40}
print(#t) --> 4 (should not be 1?)

Is this an expected result or a bug?



These two are implementation defined not undefined.