Lua 中的迭代器 Lua中有两种for语句,最基本的是 for i = 1, 10 do print i end 还有一种是for in语句 for I in pairs(t) do print I end posted at 13:42 · 计算机 · Lua 编程语言 计算机