标签:break for span 方法 got int 跳过 跳出循环 style
1 for i = 1, 10 do 2 repeat 3 if i%2 == 0 then 4 break 5 end 6 print(i) 7 break 8 until true 9 end
1 for i = 1, 10 do 2 while true do 3 if i%2 == 0 then 4 break 5 end 6 print(i) 7 break 8 end 9 end
1 for i = 1, 10 do 2 if i%2 == 0 then 3 goto continue 4 end 5 print(i) 6 ::continue:: 7 end
标签:break for span 方法 got int 跳过 跳出循环 style
原文地址:https://www.cnblogs.com/elspsy/p/8797549.html