Re: COBOL ain't quite dead - yet !



I have seen

PERFORM AAA THRU AAA-EXIT.

AAA SECTION.
AAA-PARAGRAPH.
....
AAA-EXIT.
EXIT.


I hate that, but apparently it works. When I maintain this,
sometimes I will replace the EXIT. with CONTINUE, when I add debugging
statements.

--
"In no part of the constitution is more wisdom to be found,
than in the clause which confides the question of war or peace
to the legislature, and not to the executive department."

- James Madison
.



Relevant Pages

  • Re: COBOL aint quite dead - yet !
    ... Howard Brazee writes: ... This was the norm for "Structured COBOL" ala Shelley & Cashman back when ... AAA-PARAGRAPH THRU AAA-EXIT? ... I would agree that EXIT SECTION ...
    (comp.lang.cobol)
  • Re: Dumbest non-toy mechanical pf device?
    ... The kind where the ball can exit the playfield by going through the pair when they are both up. ... Hate it when that happens. ...
    (rec.games.pinball)
  • Re: COBOL aint quite dead - yet !
    ... I hate that, but apparently it works. ... If you MUST have an exit paragraph, call them all THE-EXIT or SECTION-EXIT. ... References are ...
    (comp.lang.cobol)
  • Re: COBOL aint quite dead - yet !
    ... I hate that, but apparently it works. ... sometimes I will replace the EXIT. ... I wonder what various compilers would do if an 'EXIT SECTION' were in ... By eliminating styles that could lead to simple coding errors (such as ...
    (comp.lang.cobol)