lua-users home
lua-l archive

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


>	Can someone please tell me how to do this:
>
>	lua_settagmethod( lua, LUA_TNIL, "getglobal" );
>
>	with the new meta table stuff.

Try setting the "index" field in the metatable of the global table. Wow.
--lhf