lua-users home
lua-l archive

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


D Burgess skrev:
luaconf.h you most certainly need to tailor the macro named

lua_number2int

If you have lrint() use it.


while you are at it, check on.

lua_str2number(s,p)

DB


Thanks, I've looked at it. But I can't see how this can be from a bad setup in luaconf.
Since the and/or construct works when used with variable lookups, example:

> =false or 1
1.0890312344636e-60
> i = 1
> =i
1
> =false or i
1
>

//Andreas