Lua5.2&Lua5.3中废除的方法
Lua5.2和Lua5.3中居然把 table.getn() 废除了,
webAdd = {"QQ", "BaiDu", "SMW"}
for i = 1, table.getn(webAdd), 1 do
print(webAdd[i])
end
Lua5.2和Lua5.3中居然把 table.getn() 废除了,
webAdd = {"QQ", "BaiDu", "SMW"}
for i = 1, table.getn(webAdd), 1 do
print(webAdd[i])
end