Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Etymology of subscript in C ( OT)

Reply
Thread Tools

Etymology of subscript in C ( OT)

 
 
mdh
Guest
Posts: n/a
 
      09-14-2007
Does anyone know the origin of the use of subscript in the language?
The oxford dictionary defines it "Computing a symbol (notionally
written as a subscript but in practice usually not) used in a program,
alone or with others, to specify one of the elements of an array"
Is this indeed how arrays were written?

 
Reply With Quote
 
 
 
 
Richard Tobin
Guest
Posts: n/a
 
      09-14-2007
In article <(E-Mail Removed) .com>,
mdh <(E-Mail Removed)> wrote:

>Does anyone know the origin of the use of subscript in the language?
>The oxford dictionary defines it "Computing a symbol (notionally
>written as a subscript but in practice usually not) used in a program,
>alone or with others, to specify one of the elements of an array"
>Is this indeed how arrays were written?


It just corresponds to the usual mathematical notation of using
subscripted variables. They're inconvenient to type on computers (and
were more inconvenient in the past) so bracket notations are used
instead.

-- Richard

--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
 
Reply With Quote
 
 
 
 
Richard Heathfield
Guest
Posts: n/a
 
      09-14-2007
mdh said:

> Does anyone know the origin of the use of subscript in the language?
> The oxford dictionary defines it "Computing a symbol (notionally
> written as a subscript but in practice usually not) used in a program,
> alone or with others, to specify one of the elements of an array"
> Is this indeed how arrays were written?


Here is an excerpt from what is probably John von Neumann's first
computer program:

http://www.cpax.org.uk/scratch/vnp1.png

I've circled the most obviously relevant bits in red.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
 
Reply With Quote
 
mdh
Guest
Posts: n/a
 
      09-14-2007
On Sep 14, 9:01 am, (E-Mail Removed) (Richard Tobin) wrote:

>
> It just corresponds to the usual mathematical notation of using
> subscripted variables. They're inconvenient to type on computers (and
> were more inconvenient in the past) so bracket notations are used
> instead.
>



Thanks

 
Reply With Quote
 
mdh
Guest
Posts: n/a
 
      09-14-2007
On Sep 14, 9:38 am, Richard Heathfield <(E-Mail Removed)> wrote:
>
> Here is an excerpt from what is probably John von Neumann's first
> computer program:
>
> http://www.cpax.org.uk/scratch/vnp1.png
>
> I've circled the most obviously relevant bits in red.
>
>


Thank you Richard...

 
Reply With Quote
 
Richard Tobin
Guest
Posts: n/a
 
      09-14-2007
In article <(E-Mail Removed)>,
Richard Heathfield <(E-Mail Removed)> wrote:

>Here is an excerpt from what is probably John von Neumann's first
>computer program:
>
> http://www.cpax.org.uk/scratch/vnp1.png


I see that unreadable code is nothing new.

-- Richard
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Etymology of "Sinister tony cooper Digital Photography 29 01-26-2009 08:22 PM
etymology of "list comprehension"? mh@pixar.com Python 7 11-07-2008 06:26 AM
Etymology of "struct" Francine.Neary@googlemail.com C Programming 20 04-03-2007 07:47 AM
errno, etymology thereof unspammable@gmail.com C++ 3 03-04-2005 01:33 PM
Anybody know the Etymology of the word 'Sprint' as in coding Sprint? Laura Creighton Python 0 09-13-2003 07:39 PM



Advertisments