首页 > 代码库 > lua lu

lua lu

tb1 = {[2] = "123", [5] = "456", [9] ="789"}


print(#tb1)  0


for i, key in pairs(tb1) do
print(key)
end

 

for i, key in 1pairs(tb1) do
print(key)
end

lua lu