lua-users home
lua-l archive

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


> lua_pushnumber(L, atoi(s));
> 
> Or have I misunderstood the problem...
> 
lua_pushnumber(L,atoi("Hello"))  ==> pushes 0
lua_pushsnumber(L,atoi("Hello")) ==> would push nil

--
PM