Lua table 使用關聯型數組,你可以用任意類型的值來作數組的索引,但這個值不能是nil。 ... table.remove(fruits) print("移除后最后一个元素为",fruits[5]).
確定! 回上一頁