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,4ff929aa5c2b2834 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!204.127.204.224.MISMATCH!wns14feed!worldnet.att.net!attbi_s72.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ranges and (non)static constraints References: <1pqs0gcno5o2t.1195tm9yap28b.dlg@40tude.net> In-Reply-To: <1pqs0gcno5o2t.1195tm9yap28b.dlg@40tude.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s72 1163703376 12.201.97.213 (Thu, 16 Nov 2006 18:56:16 GMT) NNTP-Posting-Date: Thu, 16 Nov 2006 18:56:16 GMT Date: Thu, 16 Nov 2006 18:56:16 GMT Xref: g2news2.google.com comp.lang.ada:7509 Date: 2006-11-16T18:56:16+00:00 List-Id: Dmitry A. Kazakov wrote: > Informally, the second is an abbreviation for: > > type is new Integer; > subtype U is range 1..M; > > so "range" refers to a subtype. On the contrary, in the first, "range" > refers a type. So the difference. Actually, the 1st is an abbreviation for: type is new ; subtype T is range 1 .. N; It's allowing the compiler to decide which hardware-specific type to use that results in N needing to be static. -- Jeff Carter "Hello! Smelly English K...niggets." Monty Python & the Holy Grail 08