lua-users home
lua-l archive

Re: Extending Lua for multiple light userdata types

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


> > The overall idea is quite simple. There will be two kinds of numbers,
> > integers and floats. 
> 
> Does this mean that the following program will fail:
> 
> t = { true }
> assert( t[1.0] )
No. 1.0 == 1 (although they have differences).
-- Roberto

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