Lua5.2和Lua5.3中居然把  table.getn()  废除了,

webAdd = {"QQ", "BaiDu", "SMW"}

for i = 1, table.getn(webAdd), 1 do
print(webAdd[i])
end
05-01 06:28