lua小trick

 實現for循環中的continue語法spa

經過while true do end 包裝 實現code

例如:blog

 1 if    condition  do
 2 
 3     while true do
 4 
 5       if   condition2 do
 6 
 7         break
 8 
 9       end  
10 
11       do sth
12 
13       ..........
14 
15       break
16 
17     end
18 
19    end
相關文章
相關標籤/搜索