Break : Continue
DescriptionBreak
Break provides the ability to exit during any iteration, for the following loops: Repeat, For, ForEach and While.
Example
For k=0 To 10
If k=5
Break ; Will exit directly from the For/Next loop
EndIf
Debug k
Next
DescriptionContinue
Continue provides the ability to skip straight to the end of the current iteration (bypassing any code in between) in the following loops: Repeat, For, ForEach, and While.
Example
For k=0 To 10
If k=5
Continue ; Will skip the 'Debug 5' and go directly to the next iteration
EndIf
Debug k
Next