[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua 5.2 alternative for "while (lua_next(L, LUA_GLOBALSINDEX) != 0) {"
- From: Joop Boonen <joop_boonen@...>
- Date: Mon, 19 Nov 2012 09:16:20 +0100
Hi,
Does anyone which alternative Lua 5.2 code can be used for:
while (lua_next(L, LUA_GLOBALSINDEX) != 0) {
Is the following an option?
while (lua_next(L, LUA_RIDX_GLOBALS) != 0) {
Regards,
Joop.