lua-users home
lua-l archive

Re: [ANN] Lua 5.3.0 (work1) now available

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


On 7/5/2013 7:22 PM, Luiz Henrique de Figueiredo wrote:
The main change in Lua 5.3.0 is support for integers.
Regarding numbers as table indexes in Lua 5.3, is assigning to t[1.0] equivalent to assigning to t[1]?
 t[1] = "int"
 t[1.0] = "float"
 print(t[1], t[1.0])
Scott

AltStyle によって変換されたページ (->オリジナル) /