📜  带有 next() lua 代码示例的 for 循环

📅  最后修改于: 2022-03-11 14:54:55.109000             🧑  作者: Mango

代码示例2
-- Next loops are pretty simple.
-- It's exactly like a pairs loop.

for key, value in next, table do
    print(key, value)
end