home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / ada / 3894 < prev    next >
Encoding:
Text File  |  1993-01-06  |  938 b   |  27 lines

  1. Newsgroups: comp.lang.ada
  2. Path: sparky!uunet!seas.gwu.edu!mfeldman
  3. From: mfeldman@seas.gwu.edu (Michael Feldman)
  4. Subject: Re: Enum's start at 0?
  5. Message-ID: <1993Jan6.025929.18871@seas.gwu.edu>
  6. Sender: news@seas.gwu.edu
  7. Organization: George Washington University
  8. References: <238@trident.datasys.swri.edu> <1992Dec30.033842.10112@seas.gwu.edu> <1993Jan5.220007.26218@gvl.unisys.com>
  9. Date: Wed, 6 Jan 1993 02:59:29 GMT
  10. Lines: 15
  11.  
  12. In article <1993Jan5.220007.26218@gvl.unisys.com> schrey@prc.unisys.com writes:
  13. >In article <1992Dec30.033842.10112@seas.gwu.edu>, mfeldman@seas.gwu.edu (Michael Feldman) writes:
  14.  
  15. [stuff deleted]
  16.  
  17. >|> >
  18. >|> Just like everything else in computing. ASCII characters, for example,
  19. >|> run from 0 to 127, not 128. You can represent 0..127 using one less bit than
  20. >|> 1..128.
  21. >|> 
  22. >   All right... then why do string indices start at 1? :-)
  23. >
  24. Beats me. Anyone out there have an authoritative answer?
  25.  
  26. Mike Feldman
  27.