[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Does PIL (3rd edition) repeatedly misuse the length operator on tables and invoke undefined behavior?
- From: Steven Degutis <sbdegutis@...>
- Date: Wed, 17 Sep 2014 09:19:00 -0500
Quoth Oliver Kroth:
> Hi, I typed
>
> =#{}
>
> into the Lua console and got:
>
> 0
>
> which seems pretty OK to me as it has 0 elements before the first
> non-existing.
I believe the OP is claiming that the result appears to be undefined
according to the manual, not that it can never be 0.
-Steven