Re: GoTo in Java



On 18 Jan 2006 08:31:11 -0800, "Tiberiu Gociu"
<tiberiu.gociu@xxxxxxxxx> wrote:

>Could be a possible solution for you?

The use of exit paragraphs (which I thought I was through with) is a
partial solution. To pick the correct level of exits, I would need
switches.

A better solution would be a labeled EXIT PERFORM statement.
.



Relevant Pages

  • Re: GoTo in Java
    ... > partial solution. ... To pick the correct level of exits, ... > A better solution would be a labeled EXIT PERFORM statement. ... encountered at execution time. ...
    (comp.lang.cobol)
  • Re: END-PERFORM scope terminator
    ... I don't write new programs with EXIT paragraphs, ... I haven't had a chance to work with the "EXIT PARAGRAPH" or "EXIT ... which would not be NOP. ...
    (comp.lang.cobol)
  • Re: GoTo in Java
    ... > The use of exit paragraphs is a ... > A better solution would be a labeled EXIT PERFORM statement. ... extra check....but you already have the check on the lowest loop ... END-PERFORM ...
    (comp.lang.cobol)
  • Re: EXIT PARAGRAPH on z/OS was Re: Bad habits of GOTO-using programmers
    ... wmklein ix.netcom.com ... EXIT PERFORM is only allowed within in-line PERFORMs. ... So those who are in favor of exit paragraphs still have a valid ... Well written code doesn't need switches nor go to. ...
    (comp.lang.cobol)