This sounds like an XY Problem.
Please explain what it is you want to do while you're outside of the loop. In fact, explain what you're trying to achieve overall.
It sounds to me that what you might want to do is call a function if the condition is met instead of leaving the loop and going back in. That feels a lot like a goto type of thing.
In reply to Re: Breaking from a foreach loop, returning to position
by stevieb
in thread Breaking from a foreach loop, returning to position
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |