E. Wing wrote: > Thank you again for the response. That was really helpful. Is there a > C-API equivalent to this? Please check the Lua manual entries for lua_next() and lua_rawequal(): http://www.lua.org/manual/5.1/manual.html#lua_next http://www.lua.org/manual/5.1/manual.html#lua_rawequal Search the mailing list for lua_next to see some pitfalls with its use. --Mike