Ray, at the risk of another 'holy war', please don't encourage the use of "RETURN TO" - particularly with large complex groups of programs with lots of subroutines, this can lead to "return stack overflow" scenarios that are extremely hard to debug (having cleaned up a lot of these as the 'next programmer' on site, I cringed when I read that). I am not an anti-GOTO Nazi, if used sparingly and with good reason, but RETURN TO is, in my experience, a debugging nightmare waiting to happen.

Susan M. Lynch
F.W. Davison & Company, Inc.
10 Cordage Park Circle, Suite 200
Plymouth, MA 02360-7318
(508) 747-7261

----- Original Message ----- From: "Ray Wurlod" <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Thursday, November 29, 2007 5:11 PM
Subject: Re: [U2] Deep and long indentations vs multiple exit points


A third possibility is to allow GOTO ERROREXIT (single exit point) - or even RETURN TO ERROREXIT - in error handling code. This substantially reduces the number of levels of indentation required.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to