Hi Hans-Martin, you mentioned:
http://en.wikipedia.org/wiki/Array lists BASIC and Fortran as having 1-based array indexing
not any more :-)
In Fortran 77 you specify a Real Array with indexes from 0 to 10 as REAL(0:10) This leaves BASIC and Smalltalk on the wikipedia list.
Greetings, Wolfgang -- Weniger, aber besser.
2006/5/1, Wolfgang Helbig helbig@lehre.ba-stuttgart.de:
Hi Hans-Martin, you mentioned:
http://en.wikipedia.org/wiki/Array lists BASIC and Fortran as having 1-based array indexing
not any more :-)
In Fortran 77 you specify a Real Array with indexes from 0 to 10 as REAL(0:10) This leaves BASIC and Smalltalk on the wikipedia list.
IIRC XPath uses 1 based indices too.
On 5/1/06, Philippe Marschall philippe.marschall@gmail.com wrote:
2006/5/1, Wolfgang Helbig helbig@lehre.ba-stuttgart.de:
Hi Hans-Martin, you mentioned:
http://en.wikipedia.org/wiki/Array lists BASIC and Fortran as having 1-based array indexing
not any more :-)
In Fortran 77 you specify a Real Array with indexes from 0 to 10 as REAL(0:10) This leaves BASIC and Smalltalk on the wikipedia list.
IIRC XPath uses 1 based indices too.
Applescript and COBOL do as well.
On May 01, 2006, at 19:25, Laurence Rozier wrote:
On 5/1/06, Philippe Marschall philippe.marschall@gmail.com wrote:
2006/5/1, Wolfgang Helbig helbig@lehre.ba-stuttgart.de:
This leaves BASIC and Smalltalk on the wikipedia list.
IIRC XPath uses 1 based indices too.
Applescript and COBOL do as well.
Lua to!
http://lua-users.org/wiki/CountingFromOne
Cheers
-- PA, Onnay Equitursay http://alt.textdrive.com/
squeak-dev@lists.squeakfoundation.org