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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a1d2fe1ec5136718 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail From: =?ISO-8859-1?Q?S=E9bastien_Morand?= Newsgroups: comp.lang.ada Subject: Re: Generic warning Date: Wed, 18 Jun 2008 14:32:28 +0000 Organization: A noiseless patient Spider Message-ID: <48591C7C.8050304@gmail.com> References: <4858CA3B.7030101@gmail.com> <626i5415pe8s2jekhij85k4algrh9i1jfo@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1/i7W5nMofLlnD4zDZ3xnVEiFxhBX8wKoQVL8pot5QSFd8+exbkg0aegfccrtryLj4AhTcWUqUuriUr1oaMCoRd2D5lXYW55Cmdns6b1qe+xoVoRBXTGfyPItGwkuLVGRLKLxuYzok0kg== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Wed, 18 Jun 2008 14:32:32 +0000 (UTC) In-Reply-To: <626i5415pe8s2jekhij85k4algrh9i1jfo@4ax.com> X-Auth-Sender: U2FsdGVkX1+X51pLyMWzCutRqlijRJeckKFnqxPtQkwdhf+HJXHWJQ== Cancel-Lock: sha1:uRDRBiA2Tu17AV13jHtYUcjS1nE= User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) X-Enigmail-Version: 0.95.6 Xref: g2news1.google.com comp.lang.ada:761 Date: 2008-06-18T14:32:28+00:00 List-Id: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > (Newbie qiestion, coming from VHDL, halfway through the Barnes book) > > Can you not create a subtype of Positive to reflect that, and declare > both the array and index using that subtype? I can't create a subtype using a parameter. generic Order: Positive; package Test is -- Can't work since Order is not defined at compile time type MyType is range 1 .. Order; End Test; Sebastien -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) iD8DBQFIWRx8+zV9xm4PlDQRAlB6AJ9darSe1+aMBg1YbbUbilg8mZZ79wCdE/kY bF8Rs7+gGRERMktKnmwp080= =wYbq -----END PGP SIGNATURE-----