[TUHS] Array index history

Richard Tobin richard at inf.ed.ac.uk
Thu Jun 8 19:16:52 AEST 2017


> Basically, until C came along, the standard practice was for indices
> to start at 1. Certainly Fortran and Pascal did it that way.

Mercury Autocode used 0.

  http://www.homepages.ed.ac.uk/jwp/history/mercury/manual/autocode/4.jpg

-- Richard

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




More information about the TUHS mailing list