Learn Lua - Raw table access. ... 1)) -- prints nil rawset(t, 1, 42) -- ok -- since the key 1 is now valid, we can use it in a normal manner: print(t[1]).
確定! 回上一頁