lua-users home
lua-l archive

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


> 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.