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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c6ca9cbe17b867c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer1.se.telia.net!se.telia.net!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 X-Accept-Language: sv, sv-se, sv-fi, en-gb, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: access & address References: <1c2f5137.0410140105.66fdb23e@posting.google.com> <1347924.5V7QhTSfdI@linux1.krischik.com> <2t7jm8F1sp752U1@uni-berlin.de> <1982479.VT7X1MC7VE@linux1.krischik.com> <0hSbd.106246$dP1.397440@newsc.telia.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Message-ID: Date: Sun, 17 Oct 2004 23:38:26 GMT NNTP-Posting-Host: 217.209.116.179 X-Complaints-To: abuse@telia.com X-Trace: newsc.telia.net 1098056306 217.209.116.179 (Mon, 18 Oct 2004 01:38:26 CEST) NNTP-Posting-Date: Mon, 18 Oct 2004 01:38:26 CEST Organization: Telia Internet Xref: g2news1.google.com comp.lang.ada:5377 Date: 2004-10-17T23:38:26+00:00 List-Id: Xenos wrote: > 0 was a type-o I thought it might be, but so many programmers like to count everything=20 from zero so I couldn't be sure. And the enumeration would have had a=20 valid value represented as 0 anyway, just like it would have had a valid = value represented as 15, wouldn't it? > My point was > that just specifying the upper bound is good enough to guarantee the > language internally uses an integer type with a big enough range to > accomodate you. So by "close enough" you meant "enough bits to be able to represent all=20 values from 1 to 12"? Then I misunderstood you. It looked like you meant = "close enough to actually enforcing the restriction that only values=20 from 1 to 12 are valid". --=20 Bj=F6rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu