[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Table + LuaJava
- From: "Robert G. Jakabosky" <bobby@...>
- Date: Tue, 9 Jun 2009 04:03:46 -0700
On Tuesday 09, Anselmo Junior wrote:
> Oh yeah, and I recently try to do that and work. Only need get what key in
> the script is in use to get the values.
Method objLen in the LuaState class:
public int objLen(int idx)
Looks like you have to use the Lua stack idx of the table.
For strings it will return the string length, for tables it will return the
results of the length operator '#'...
See more here:
Robert G. Jakabosky