我們可以替Lua寫一個相似的函數,但其還多返回一個用於解釋是否是有找到的值: function get(dict, key, default) if dict[key] ~= nil then return dict[key], ...
確定! 回上一頁