lua-users home
lua-l archive

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


On Aug 12, 2014 7:47 PM, "Tim Hill" <drtimhill@gmail.com> wrote:
>Any string (and any other value as well except nil) can be used as a table key

As well as nil, NaN ia also not allowed:
t =  {[0/0] = true}  -- raises an error