[TUHS] origin of string.h and ctype.h

Steve Johnson scj at yaccman.com
Sun Aug 13 15:27:09 AEST 2017

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...


----- Original Message -----
From: "Dave Horsfall" <dave at horsfall.org>
To:"The Eunuchs Hysterical Society" <tuhs at tuhs.org>
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
 > of IF that took three statement numbers and did a (gasp) GOTO to
 > first if the expression in the IF was negative, to the second if it
 > 0, and to the third if it was positive.   And some mainframes had
 > instruction that did exactly that as well...

 Wasn't that the computed GOTO?

 Dave Horsfall DTM (VK2KFU) "Those who don't understand security will

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20170812/262ac1a8/attachment.html>

More information about the TUHS mailing list