What about using the FOR Q=1 to 6 UNTIL DONE.Q.LOOP form and then set 
DONE.Q.LOOP where you currently have the EXIT. You may be able to use the same 
variable on each loop - I've never had the occasion to "nest" them before like 
that. Just don't forget to initialize it to 0 each time through the "T" loop.

hth
Colin Alfke


>-----Original Message-----
>From: George Gallen 
>
>For instance.
>
>FOR T=1 TO 10
>    FOR Q=1 TO 6
>        FOR X=1 TO 9
>             IF CONDITION THEN EXIT ; EXIT
>                            OR
>             IF CONDITION THEN CONTINUE T
>        NEXT X
>    NEXT Q
>NEXT T
>
>So the point being if a condition occurs, I want to stop
>   the x and q loops entirely, and continue on with the
>   next t iteration.
>
>This is with UV10
>
>yes, I could use a line label, but then I'd almost be
>forced into a goto. Please no wars on this
>or anything that takes more than 5 additional lines
>
>George
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to