摘要: 翻阅了Lua官方手册和Lua程序设计(第四版) paris和iparis都是Lua语言的迭代器,用来遍历集合中的元素 二者在使用上有一些区分,以下是官方文档的定义 ipairs (t) Returns three values (an iterator function, the table t, 阅读全文
posted @ 2020-11-13 16:13 世味 阅读(560) 评论(0) 推荐(0) 编辑