Computer Old Farts Forum
 help / color / mirror / Atom feed
From: skogtun at gmail.com (Harald Arnesen)
Subject: [COFF] COBOL.
Date: Tue, 14 Apr 2020 11:24:17 +0200	[thread overview]
Message-ID: <8884c03d-acd0-14bd-ca60-ec269e3a3812@gmail.com> (raw)
In-Reply-To: <alpine.BSF.2.21.9999.2004140818410.1535@aneurin.horsfall.org>

Dave Horsfall [14.04.2020 00:24]:

> I have no plans to move to the US :-)  To this day "ADD A TO B GIVING C 
> COMPUTATIONAL ROUNDED" still leaves me cold.

No one I know (I programmed COBOL at a couple of jobs in the 80s) ever
actually wrote that in COBOL. "COMPUTE C = A + B" is valid, and the
"COMPUTATIONAL ROUNDED" is handled by USAGE and PICTURE clauses in the
DATA DIVISION.

I still dabble with GNU Cobol now and then.
-- 
Hilsen Harald


  parent reply	other threads:[~2020-04-14  9:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13 17:59 crossd
2020-04-13 18:09 ` 
2020-04-13 19:30   ` crossd
2020-04-13 22:22   ` krewat
2020-04-13 20:40 ` clemc
2020-04-13 21:27 ` thomas.paulsen
2020-04-13 22:24 ` dave
2020-04-13 22:28   ` lm
2020-04-13 23:58   ` clemc
2020-04-14  9:24   ` skogtun [this message]
2020-04-14 10:06     ` dave
2020-04-14  8:18 ` wobblygong
2020-04-14 16:11   ` cym224
2020-04-15  6:58   ` thomas.paulsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8884c03d-acd0-14bd-ca60-ec269e3a3812@gmail.com \
    --to=coff@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).