Meta table. mytable = {"Lua","Java","C#"} -- mymetatable={__index=function ( tab,key) -- -- body -- if key>10 then -- return "JS" -- end -- end ...
確定! 回上一頁