If I understand what you are asking, and your code, a simple "last" should do the trick (since your "for" loop is the innermost enclosing loop).
If a bare "last" doesn't meet your needs, you can check the documentation on labels (which allow you to apply a "last" to a specific loop).
In reply to Re: exit a loop
by Melly
in thread exit a loop
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |