🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: soc.folklore.computers
1 messages
1 total messages Started by Argun Tekant Mon, 06 May 1991 20:58
Re: About the variable 'I' (was Re: long names (was Readability of Ada))
#1
Author: Argun Tekant
Date: Mon, 06 May 1991 20:58
25 lines
1695 bytes
>mrs@netcom.COM (Morgan Schweers) writes:
>
>    Then when I finally took FORTRAN, I discovered a possible reason.  I've
>never seen it documented anywhere, so I was wondering if my conjecture was
>right.  Any opinions?  (*IF* you are lucky enough not to have programmed
>in FORTRAN at any time, it's loops were only allowed to be done with
>INTEGER variables, and it's INTEGERS were hardcoded.  I believe 'I' was
>the first integer, tho I don't remember too well after some 6+ years...

But there was a good reason for FORTRAN to use I & onwards for interegers
which has nothing to do with mathematics.
The first computer FORTRAN was implemented on (the name misses me)
had 16 registers. The first 8 (registers A to H) were real number
registers the rest (starting from register I) were integer registers.
You could only have as many variables as your registers, and those were
named A,B,C,..... .

Hence the reason why I is an integer. And you can finish the story.


QED.

Argun.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads