omori-Sakuya

2023年7月4日

学迭代器遇到的一个问题

摘要: 事情是这样的 function iter (arr,index) index = index + 1 if arr[index] then return arr[index],index end end a={1,2,3,5,4} for k,v in iter,{1,2,5,6,5,4},0 do 阅读全文

posted @ 2023-07-04 21:18 omori_Sakuya 阅读(9) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

点击右上角即可分享
微信分享提示