lua-users home
lua-l archive

Re: access to the keys of a table

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


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. The complete source code is in refman.
--
Mvh, Marius Kjeldahl

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