Re: COBOL ain't quite dead - yet !
- From: Richard <riplin@xxxxxxxxxxxx>
- Date: Thu, 30 Oct 2008 12:15:38 -0700 (PDT)
On Oct 30, 6:27 am, Howard Brazee <how...@xxxxxxxxxx> wrote:
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.
I wonder what various compilers would do if an 'EXIT SECTION' were in
there. This would go to a point beyond the end of AA-EXIT. An 'EXIT
PARAGRAPH' would work, but it is a section that is being performed.
I prefer to use styles which can be validated. It may be possible to
write a program that would warn when your example is used but it seems
that the compiler would not give any message if the EXIT SECTION would
cause the program to run amuck.
By eliminating styles that could lead to simple coding errors (such as
your example) the programs can be more reliable and faster to develop.
.
- Follow-Ups:
- Re: COBOL ain't quite dead - yet !
- From: Howard Brazee
- Re: COBOL ain't quite dead - yet !
- References:
- COBOL ain't quite dead - yet !
- From: James J. Gavan
- Re: COBOL ain't quite dead - yet !
- From:
- Re: COBOL ain't quite dead - yet !
- From: Silfax
- Re: COBOL ain't quite dead - yet !
- From: tlmfru
- Re: COBOL ain't quite dead - yet !
- From: Howard Brazee
- Re: COBOL ain't quite dead - yet !
- From: tlmfru
- Re: COBOL ain't quite dead - yet !
- From: Bill Gunshannon
- Re: COBOL ain't quite dead - yet !
- From: Howard Brazee
- COBOL ain't quite dead - yet !
- Prev by Date: Re: COBOL ain't quite dead - yet !
- Next by Date: Re: COBOL ain't quite dead - yet !
- Previous by thread: Re: COBOL ain't quite dead - yet !
- Next by thread: Re: COBOL ain't quite dead - yet !
- Index(es):
Relevant Pages
|