Re: COBOL ain't quite dead - yet !
- From: Howard Brazee <howard@xxxxxxxxxx>
- Date: Wed, 29 Oct 2008 12:47:01 -0600
On 29 Oct 2008 18:08:13 GMT, billg999@xxxxxxxxxxx (Bill Gunshannon)
wrote:
In article <747hg4965hgegcuojhe10um7ic1f5lnccg@xxxxxxx>,
Howard Brazee <howard@xxxxxxxxxx> writes:
I have seen
PERFORM AAA THRU AAA-EXIT.
AAA SECTION.
AAA-PARAGRAPH.
...
AAA-EXIT.
EXIT.
This was the norm for "Structured COBOL" ala Shelley & Cashman back when
I was taking classes in the late 70's. Most of the programming standards
I ran into required it (back when programming shops actually had standards!)
What advantage is this in either performing AAA or PERFORM
AAA-PARAGRAPH THRU AAA-EXIT?
I can't see what might be considered detrimental to it. I think it makes
the code easier for humans to read as blocks are more plainly delineated.
And the compiler probably doesn't care one way or the other. :-)
bill
The logic doesn't make sense to me. Compilers do understand it, but
it's very much like dangerous loops where performed THRU code performs
itself.
In the same way, I like XML nested syntax requirements better than
HTML nested syntax requirements. Keep the logic clean.
--
"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
.
- Follow-Ups:
- Re: COBOL ain't quite dead - yet !
- From: Pete Dashwood
- Re: COBOL ain't quite dead - yet !
- From: Bill Gunshannon
- 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
- Re: COBOL ain't quite dead - yet !
- From: Bill Gunshannon
- 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):