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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c56a86f3a4e16d06 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Containers with Ada Date: 2000/11/19 Message-ID: <8v8v9q$ht6$1@nnrp1.deja.com>#1/1 X-Deja-AN: 695436877 References: <8v8pii$dvo$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x52.deja.com:80 (Squid/1.1.22) for client 205.232.38.240 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sun Nov 19 16:31:53 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-11-19T00:00:00+00:00 List-Id: In article <8v8pii$dvo$1@nnrp1.deja.com>, jeltsch@my-deja.com wrote: atform. > > 4. Limitations with controlled types > procedure Act(Limit : in Natural) is > subtype My_Range is Natural range 1 .. Limit; > package My_Lists is new Lists(My_Range); > begin > ... > end Act; Simply define the types and instantiations you need at the library level, and parametrize them appropriately. Again, if you post complete examples, it may be easier to help. You are making the mistake of having a preconceived idea of how to do things, and unfortunately the idea is wrong. Try describing what you want to do at a high level, rather than providing solutions that are wrong and complaining about the solutions not working. The trouble with the latter approach is that then we have to guess at the problem you are trying to solve, and this guessing often goes astray. Sent via Deja.com http://www.deja.com/ Before you buy.