home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada
- Path: sparky!uunet!seas.gwu.edu!mfeldman
- From: mfeldman@seas.gwu.edu (Michael Feldman)
- Subject: Re: Enum's start at 0?
- Message-ID: <1993Jan6.025929.18871@seas.gwu.edu>
- Sender: news@seas.gwu.edu
- Organization: George Washington University
- References: <238@trident.datasys.swri.edu> <1992Dec30.033842.10112@seas.gwu.edu> <1993Jan5.220007.26218@gvl.unisys.com>
- Date: Wed, 6 Jan 1993 02:59:29 GMT
- Lines: 15
-
- In article <1993Jan5.220007.26218@gvl.unisys.com> schrey@prc.unisys.com writes:
- >In article <1992Dec30.033842.10112@seas.gwu.edu>, mfeldman@seas.gwu.edu (Michael Feldman) writes:
-
- [stuff deleted]
-
- >|> >
- >|> Just like everything else in computing. ASCII characters, for example,
- >|> run from 0 to 127, not 128. You can represent 0..127 using one less bit than
- >|> 1..128.
- >|>
- > All right... then why do string indices start at 1? :-)
- >
- Beats me. Anyone out there have an authoritative answer?
-
- Mike Feldman
-