Re: Misnomers in the COBOL standard
- From: "James J. Gavan" <jgavandeletethis@xxxxxxx>
- Date: Fri, 14 Jul 2006 03:44:57 GMT
William Bub wrote:
(Jumping in from my usual lurking...)
I always liked it that COBOL nearly always worked left to right: MOVE VAR1 TO VAR2, ADD 1 to VAR3, etc.
I wish there were a COMPUTE syntax which worked the same way: COMPUTE VAR1 + VAR2 GIVING VAR3 ???
(The last time I suggested it, everyone thought I was nuts!)
Interesting but not nuts :-). Your example is logical and immediately comprehensible but it does make it inconsistent with other uses of the COMPUTE. Think on it -
COMPUTE (Something) = (formula)
Jimmy
.
- References:
- Misnomers in the COBOL standard
- From: Roger While
- Re: Misnomers in the COBOL standard
- From: Robert Jones
- Re: Misnomers in the COBOL standard
- From: Richard
- Re: Misnomers in the COBOL standard
- From: William Bub
- Misnomers in the COBOL standard
- Prev by Date: Re: change variables
- Next by Date: Re: change variables
- Previous by thread: Re: Misnomers in the COBOL standard
- Next by thread: Re: Misnomers in the COBOL standard
- Index(es):
Relevant Pages
|