Re: "Goto statement considered superfluous" (was: If you were inventing C)

From: Chuck Stevens (charles.stevens_at_unisys.com)
Date: 09/24/04


Date: Thu, 23 Sep 2004 16:10:08 -0700


"Richard" <riplin@Azonic.co.nz> wrote in message
news:217e491a.0409231452.a02b4da@posting.google.com...

> It certainly would have hurt it unless they also provided COMPUTE
> (which didn't arrive until '74).

No, I don't think that's quite right. COMPUTE is in both the '68 COBOL
manuals I have lying around, not marked as an extension, it's in the
COBOL-60 manual I've got, and it's not listed as an "innovation" in the JoD
series in either of the standards that contain the History of COBOL section.

I think what's new in '74 is *multiple-destination* COMPUTE ("the identifier
series": ANSI X3.23-1974 page XIV-20, Substantive Changes item 44).
Multiple-destination ADD GIVING, DIVIDE GIVING, DIVIDE INTO (no GIVING),
MULTIPLY BY (no GIVING), MULTIPLY GIVING, and SUBTRACT GIVING also appear to
have been added in '74.

    -Chuck Stevens



Relevant Pages

  • Re: BLOCK CONTAINS
    ... and I find that the manuals don't exactly agree with my results. ... or something else) then the file has a RECFM of either VB or FB. ... Here is an extract from one page in our course "Enterprise COBOL ... LRECL, and RECFM are not specified on the DD statement ...
    (bit.listserv.ibm-main)
  • Re: Got a COBOL job
    ... At one time I was very eager to get into COBOL, ... I think I can be a fair to middlin' programmer, ... download the manuals from most suppliers for free, ... not very expensive and comes with a free compiler ...
    (comp.lang.cobol)
  • Re: Cobol Copybook Parsing
    ... > thru cobol, so I tht those samples would help clear some doubts. ... Similarly for edited numerics and alphanumerics would the data file ... I advise you to obtain the manuals for the compiler ...
    (comp.lang.cobol)
  • RE: VS COBOL II manuals
    ... Subject: VS COBOL II manuals ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Static or Dynamic Call.
    ... stop answering mainframe COBOL questions!!! ... The fun comes when the manuals misleadeth or lieth. ... control intervals). ... some cases there is an initial large split activity followed by mostly ...
    (comp.lang.cobol)