On Sun, 15 Apr 2012 23:15:19 -0700, Edward Jaffe wrote: > >The problem with GOTO is that the suitability of the target branch location is >not enforced by the compiler according to any structured discipline. > "C" commits this offense. Shame on C.
>Premature terminations (posit/quit/admit) can almost always be handled with >LEAVE-type statements or immediate return from a subroutine. Some languages >have >SIGNAL, EXIT, etc. which can help provide structured premature termination for >larger routines without resorting to the dreaded GOTO. > Rexx is a nightmare here. The LEAVE statement, even with a specified target, won't exit a (nest of) procedure(s). The SIGNAL statement trashes the DO nesting at the target level. Shame on Rexx. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

