I think the UNTIL should be in behind NEXT A2, rather than on the FOR line.

Hoping to lighten the day...

   BAIL = 0
   FOR A1 = 1 TO XYZZY
      FOR A2 = 1 TO Y
         <little twisted logic>
         IF G # H THEN BAIL = 51 ;* error code
      UNTIL BAIL DO
         <twisted little logic>
      NEXT A2
   UNTIL BAIL DO
       <twisting little logic>
    NEXT A1
   IF BAIL THEN DISPLAY 'Housten, we have a problem in Area ':BAIL

Or use a GOSUB - RETURN does a fair job of being readable.

Regards, Keith


_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to