摘要: Lua 中 ipairs 与 pairs 功能的自定义实现 iparis local function myipairs(tbl) return function(state, control) -- iterator control = control + 1 local value = tbl[ 阅读全文
posted @ 2021-07-15 17:39 withpear 阅读(614) 评论(0) 推荐(0)