lua的泛型遍历

lua的for循环体有,对于迭代器有pairs()和ipairs()两个,pairs()做无序遍历,ipairs()做数组遍历

猜你喜欢

转载自blog.csdn.net/loushanghua/article/details/83210509
今日推荐