From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4751d44ff54a2c2c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-19 17:15:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: 64-bit integers in Ada Date: 19 Aug 2002 17:15:21 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0208191615.4a55dad6@posting.google.com> References: <3CE3978F.6070704@gmx.spam.egg.sausage.and.spam.net> <5ee5b646.0207301613.5b59616c@posting.google.com> <5ee5b646.0208030424.39703482@posting.google.com> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1029802521 26241 127.0.0.1 (20 Aug 2002 00:15:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Aug 2002 00:15:21 GMT Xref: archiver1.google.com comp.lang.ada:28228 Date: 2002-08-20T00:15:21+00:00 List-Id: "AG" wrote in message news:... > To be consistent, should not it be: > > subtype String_Index is String_Count range > String_Count'First + 1 .. String_Count'Last; > > Otherwise you are assuming that counting starts from zero (or one). Actually this seems a poor suggestion, your rewrite does not emphasize that the lower bound of strings starts at 1.