[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work1) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 7 Jul 2013 08:13:37 -0300
> Regarding numbers as table indexes in Lua 5.3, is assigning to t[1.0]
> equivalent to assigning to t[1]?
Yes. The main point is that if x==y then t[x]==t[y]. And 1==1.0, as expected.