摘要: function list_iter(t) local i = 0 local n = table.getn(t) return function() i = i + 1 if i <= n then return t[i] end end end t = {10, 20, 30} iter = list_iter(t) whil... 阅读全文
posted @ 2016-09-21 00:01 zzyoucan 阅读(217) 评论(0) 推荐(0) 编辑