lua-users home
lua-l archive

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


> BTW, Lua 5.3 has two macros that allow you to disable those automatic
> coercions, if you want to try.
>
> -DLUA_NOCVTN2S  to disable conversion from numbers to strings
> -DLUA_NOCVTS2N  to disable conversion from strings to numbers

Nice! Would it be easy to make this a dynamic option
instead of a compile-time one?

-- 
Pierre Chapuis