Continue For loop

前端 未结 8 1730
面向向阳花
面向向阳花 2020-11-27 05:29

I have the following code

For x = LBound(arr) To UBound(arr)

    sname = arr(x)  
    If instr(sname, \"Configuration item\") Then  
        \'**(here i wa         


        
8条回答
  •  孤独总比滥情好
    2020-11-27 06:19

    For i=1 To 10
        Do 
            'Do everything in here and
    
            If I_Dont_Want_Finish_This_Loop Then
                Exit Do
            End If 
    
            'Of course, if I do want to finish it,
            'I put more stuff here, and then...
    
        Loop While False 'quit after one loop
    Next i
    

提交回复
热议问题