您可以使用Lua编程中的set之类的东西: function Set (list) local set = {} for _, l in ipairs(list) do set[l] = true end return set end.
確定! 回上一頁