[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: access to the keys of a table
- From: Gabriel Peyré <nikopol0@...>
- Date: Tue, 19 Nov 2002 01:14:39 +0100
Thanks for your response, I was working with LUA 4.0, which doesn't seem to
have this facility.
Upgrading to 5.0 seems the right thing to do :)
----- Original Message -----
From: "Marius Kjeldahl" <email@example.com>
To: "Multiple recipients of list" <firstname.lastname@example.org>
Sent: Monday, November 18, 2002 11:09 PM
Subject: Re: access to the keys of a table
> Gabriel Peyré wrote:
> > Sorry if this question has already been answered, I didn't manage to
> > simple answer (both on the archives and in
> > the refman).
> It's in refman.
> Start with lua_pushnil (L), then call lua_next (L, index) for each key.
> complete source code is in refman.
> Mvh, Marius Kjeldahl