home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!gatech!usenet.ins.cwru.edu!agate!linus!linus.mitre.org!linus!mbunix!eachus
- From: eachus@goldfinger.mitre.org (Robert I. Eachus)
- Subject: Re: Enum's start at 0?
- In-Reply-To: mfeldman@seas.gwu.edu's message of Wed, 6 Jan 1993 02:59:29 GMT
- Message-ID: <EACHUS.93Jan6144057@goldfinger.mitre.org>
- Sender: news@linus.mitre.org (NONUSER)
- Nntp-Posting-Host: goldfinger.mitre.org
- Organization: The Mitre Corp., Bedford, MA.
- References: <238@trident.datasys.swri.edu> <1992Dec30.033842.10112@seas.gwu.edu>
- <1993Jan5.220007.26218@gvl.unisys.com>
- <1993Jan6.025929.18871@seas.gwu.edu>
- Date: Wed, 6 Jan 1993 19:40:57 GMT
- Lines: 27
-
- In article <1993Jan6.025929.18871@seas.gwu.edu> mfeldman@seas.gwu.edu (Michael Feldman) writes:
-
- In article <1993Jan5.220007.26218@gvl.unisys.com> schrey@prc.unisys.com writes:
- > > All right... then why do string indices start at 1? :-)
-
- > Beats me. Anyone out there have an authoritative answer?
-
- Is there such a thing? (I assume you don't want me to point to
- Appendix C(17) and say because...) There was a lot of debate on this
- in 1981-1982, but as I remember it, it was more concerned with
- replacing the subtypes NONNEGATIVE and NATURAL with the more standard
- NATURAL and POSITIVE. Once these were changed STRING changed to
- match.
-
- I guess the real answer is that there was always an expectation
- that for "normal" strings 'LENGTH = 'LAST and this requires that
- STRINGs be based at one.
-
-
-
- --
-
- Robert I. Eachus
-
- with Standard_Disclaimer;
- use Standard_Disclaimer;
- function Message (Text: in Clever_Ideas) return Better_Ideas is...
-