表(table) 是Lua 唯一的資料結構,在Lua 內部的實作上,表帶有雜湊表(hash table) 和 ... of the array. assert(#arr == 5) -- Append an element. table.insert(arr, ...
確定! 回上一頁