Am 14.05.2014 20:32, schrieb Paul K: > Andre, > >> I checked the luaB_tonumber function. This looks like a bug in Lua and >> we have to report it. Should I do this? > This seems to be a documented behavior for Lua 5.2 > (http://www.lua.org/manual/5.2/manual.html#pdf-tonumber): "When called > with base, then e should be a string to be interpreted as an integer > numeral in that base." > > Lua 5.1 behaved differently and returned "nil" for "tonumber(nil, 10)". > > Paul. > > . > When this is a (documented) feature, it can't be a bug ;-) Greetings André