Using this logic, I believe <twisting little logic> would still be executed.
Sincerely, David Laansma -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Lunt, Bruce Sent: Thursday, April 19, 2012 4:50 PM To: 'U2 Users List' Subject: Re: [U2] EXIT ; EXIT inside a loop You could add logic to the For Next as in: A1.DONE = FALSE A2.DONE = FALSE FOR A1 = 1 TO X UNTIL A1.DONE FOR A2 = 1 TO Y UNTIL A2.DONE <little twisted logic> IF G = H THEN A1.DONE = TRUE; A2.DONE = TRUE; EXIT <twisted little logic> NEXT A2 <twisting little logic> NEXT A1 <little twisting logic> The question is, if G = H, will the two EXIT commands drop out of both loops, skipping BOTH <twisted little logic> and <twisting little logic>, and resume execution at <little twisting logic> ? PLOUGH Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com <http://www.hubbardsupply.com> "Delivering Products, Services and Innovative Solutions" _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
