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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,52b823433320210c,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: "a malkiel" Newsgroups: comp.lang.ada Subject: array of generic packages? Date: Thu, 23 Sep 2004 04:03:11 +1000 Organization: wan net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 220.244.246.157 X-Original-NNTP-Posting-Host: 220.244.246.157 Message-ID: <4151be92@dnews.tpgi.com.au> X-Trace: dnews.tpgi.com.au!tpg.com.au 1095876242 220.244.246.157 (23 Sep 2004 04:04:02 +1000) Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news-peer1.sprintlink.net!news-syd!dnews.tpgi.com.au!tpg.com.au!not-for-mail Xref: g2news1.google.com comp.lang.ada:3952 Date: 2004-09-23T04:03:11+10:00 List-Id: hi im somewhat new to ada. i've been trying to nut this one but can't seem to. Would anyone know if defining an "array of generic packages" is possible? What im looking for is something of the nature: type shape_type is (circle, triangle); package shapePointer(1) is new shape(circle); package shapePointer(2) is new shape(triangle); thanks in advance. ciao, andrew