lua-users home
lua-l archive

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

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" <>
To: "Multiple recipients of list" <>
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
find a
> > 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