lua-users home
lua-l archive

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


>From fb@anise.ee.cornell.edu Wed Feb 18 02:28:34 1998
>
>In the FAQ, there's a mention that it will be possible to traverse a lua
>table from C in Lua 3.1.  How does that work?  I couldn't find any mention
>of it in the alpha docs...

3.1 has new functions "foreach" and "foreachvar".
You call them from C with lua_call.
--lhf