From: scj@yaccman.com (Steve Johnson)
Subject: [TUHS] origin of string.h and ctype.h
Date: Sat, 12 Aug 2017 22:27:09 -0700 [thread overview]
Message-ID: <69d306adcac795596fda674fd82ec5f2fc975884@webmail.yaccman.com> (raw)
In-Reply-To: <alpine.BSF.2.21.1708131426100.33355@aneurin.horsfall.org>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]
A little Googling shows that the IF I mentioned was called the
"arithmetic IF". There was also a Computed GOTO that branched to
one of N labels depending on the value of the expression. And an
Assigned GOTO whose main use, as I remember, was to allow for error
recovery when a subroutine failed...
Steve
----- Original Message -----
From: "Dave Horsfall" <dave@horsfall.org>
To:"The Eunuchs Hysterical Society" <tuhs at tuhs.org>
Cc:
Sent:Sun, 13 Aug 2017 14:26:53 +1000 (EST)
Subject:Re: [TUHS] origin of string.h and ctype.h
On Sat, 12 Aug 2017, Steve Johnson wrote:
> Don't have much to add except to note that early FORTRANs had a
version
> of IF that took three statement numbers and did a (gasp) GOTO to
the
> first if the expression in the IF was negative, to the second if it
was
> 0, and to the third if it was positive. And some mainframes had
an
> instruction that did exactly that as well...
Wasn't that the computed GOTO?
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will
suffer."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20170812/262ac1a8/attachment.html>
next prev parent reply other threads:[~2017-08-13 5:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-13 1:58 Doug McIlroy
2017-08-13 3:39 ` Steve Johnson
2017-08-13 4:26 ` Dave Horsfall
2017-08-13 5:27 ` Steve Johnson [this message]
2017-08-13 5:43 ` Dave Horsfall
2017-08-13 17:24 ` Warner Losh
2017-08-13 18:23 ` Steve Nickolas
2017-08-13 8:42 ` arnold
2017-08-14 11:08 ` Mutiny
[not found] <mailman.919.1502645045.3779.tuhs@minnie.tuhs.org>
2017-08-13 21:55 ` Johnny Billquist
2017-08-13 22:26 ` Charles Anthony
2017-08-14 0:02 ` Paul McJones
2017-08-14 16:09 ` Paul Winalski
2017-08-14 17:16 ` Paul McJones
2017-08-15 3:57 ` Greg 'groggy' Lehey
2017-08-15 4:13 ` Paul McJones
2017-08-15 0:37 ` Dave Horsfall
[not found] <mailman.1.1502762401.21962.tuhs@minnie.tuhs.org>
2017-08-15 3:06 ` Paul McJones
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=69d306adcac795596fda674fd82ec5f2fc975884@webmail.yaccman.com \
--to=scj@yaccman.com \
/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).