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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7c5529e60468e3e0,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-20 07:53:39 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.space.net!newsfeed.vmunix.org!newspeer1-gui.server.ntli.net!ntli.net!newsfe1-win.POSTED!53ab2750!not-for-mail From: chris User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: generic arrays? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 20 Feb 2004 15:58:13 +0000 NNTP-Posting-Host: 81.107.63.68 X-Trace: newsfe1-win 1077292427 81.107.63.68 (Fri, 20 Feb 2004 15:53:47 GMT) NNTP-Posting-Date: Fri, 20 Feb 2004 15:53:47 GMT Organization: NTL Xref: archiver1.google.com comp.lang.ada:5693 Date: 2004-02-20T15:58:13+00:00 List-Id: Hi, Is it possible to do something like the following? generic NI : Positive; package P is type IV is array (1..NI) of float; end P; generic type X is ... package T is type TP is record A : X; end TP; end T; with the ability to make the type of X = type of IV? I want to instansiate T with IV after instantiating P, but don't know what to make X. Is there any way to avoid using an access type to hold X in the record TP? (in the case where type x is an unconstrained array of floats). Cheers, Chris