setmetatable (tbl1, mt) 可以用getmetatable()語句來檢視一個table所掛接的metatable. > print(getmetatable(tbl1) == mt)
確定! 回上一頁