发布时间:2016-03-11 19:33:58
LUA手册中对与pairs,ipairs解释如下:ipairs (t)Returns three values: an iterator function, thetable t,and 0, so that the constructionfor i,v in ipairs(t) do body endwill iterate over the pairs (1,t[1]),(2,t[2]),···, up to the first integer key absent f.........【阅读全文】