lua-users home
lua-l archive

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

> -----Original Message-----
> From: 
> [] On Behalf Of 
> Couwenberg, Wim
> Sent: Thursday, August 23, 2007 4:51 PM
> To: Lua list
> Subject: RE: Passing arrays from LUA to C++
> > Ok, the 
> > string is for sure handled wrong with lua_tonumber, but also 
> > the other numbers are wrong. Could anyone tell me why this happens?
> lua_tonumber does not return an int.

Thanks. The lua_tointeger works perfect now.


Dipl.-Inf. (FH) Andreas Volz, ES1
Phone: +49 (9131) 7701 167,
Fax: +49 (9131) 7701 333,

Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany
Managing Director Otto Fößel
Register Court Fürth HRB 4886 

Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.