[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Bug] Wording
- From: Martin <eden_martin_fuhrspam@...>
- Date: Wed, 3 May 2017 03:10:06 -0700
On 05/02/2017 04:01 PM, Soni L. wrote:
> The truth is, v=t[nil] and t[nil]=v both are valid Lua code, except the
> latter errors because *a nil index cannot exist*. More specifically, you
> cannot *create* a nil index, but you can check for its existence. Same
> for NaN.
Did you tried metatables to override this behavior?
-- Martin