1.
a={ ip = "127.0.0.1", port = 6789 }
for i,v in pairs(a) do
print(i,v)
end
a={1}
for i,v in ipairs(a) do
print(i,v)
end
http://blog.csdn.net/witch_soya/article/details/7556595
时间: 2024-10-01 07:00:22
1.
a={ ip = "127.0.0.1", port = 6789 }
for i,v in pairs(a) do
print(i,v)
end
a={1}
for i,v in ipairs(a) do
print(i,v)
end
http://blog.csdn.net/witch_soya/article/details/7556595