lua_getglobal (L, "mytable") <== push mytable lua_pushnumber(L, 1) <== push key 1 lua_gettable(L, -2) <== pop key 1, push mytable[1]
確定! 回上一頁