lua-users home
lua-l archive

Re: Does lua internally parse all number into string?

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


On Mon, Jul 16, 2012 at 04:56:38PM +0800, zaker wrote:
> I use "lua_rawseti(L, -1, 0)" to set a table's 0 index. 
To itself? I suspect you meant -2 there, with the result that you
didn't set anything.
> And I write a function that will get the entry from table. The function prototype is "GetValue( index, table )".
> I just can't get the value by "GetValue( 0, table )" or "GetValue( '0', table )".
Can we see GetValue's source?
 OG.

AltStyle によって変換されたページ (->オリジナル) /