Re: COBOL's Influence on C
- From: "Judson McClendon" <judmc@xxxxxxxxxxxxx>
- Date: Sun, 11 Nov 2007 12:35:58 -0600
"Charles Hottel" <chottel@xxxxxxxxxxxxx> wrote:
I f they really want to improve C they should add an EVALUATE statement.
AFAIK, C has always had the 'switch' statement, Pascal has the 'case'
statement, modern BASICs have the SELECT statement, etc., all of which
predated EVALUATE, and from which I suspect EVALUATE was taken.
Unlike the other languages, C's 'switch' statement 'drops through' successive
'case' phrases. EVALUATE is more powerful (flexible) than the others;
perhaps that was what you meant. :-)
--
Judson McClendon judmc@xxxxxxxxxxxxx (remove zero)
Sun Valley Systems http://sunvaley.com
"For God so loved the world that He gave His only begotten Son, that
whoever believes in Him should not perish but have everlasting life."
.
- Follow-Ups:
- Re: COBOL's Influence on C
- From: Rick Smith
- Re: COBOL's Influence on C
- References:
- COBOL's Influence on C
- From: Rick Smith
- Re: COBOL's Influence on C
- From: Robert Jones
- Re: COBOL's Influence on C
- From: Rick Smith
- Re: COBOL's Influence on C
- From: Charles Hottel
- COBOL's Influence on C
- Prev by Date: Re: OT: No level is safe, zero tolerance
- Next by Date: Re: No level is safe, zero tolerance
- Previous by thread: Re: COBOL's Influence on C
- Next by thread: Re: COBOL's Influence on C
- Index(es):
Relevant Pages
|