Lua table 使用关联型数组,你可以用任意类型的值来作数组的索引,但这个值不能 ... function table_leng(t) local leng=0 for k, v in pairs(t) do leng=leng+1 end ...
確定! 回上一頁