lua中pairs和ipairs的区别
ipairs (t)Returns three values: an iterator function, the tablet, and 0, so that the constructionfor i,v in ipairs(t) dobodyendwill iterate over the pairs (1,t[1]), (2,t[2]), ···, up to the f...
原创
2019-11-01 16:50:49 ·
133 阅读 ·
0 评论