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,faf469c89f73f91d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-15 05:28:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3C6CFBFB.3579247E@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Package Instances??? References: <721b6d80.0202131302.1ccce2ed@posting.google.com> <3C6BFAFC.7060902@mail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 15 Feb 2002 13:11:34 GMT NNTP-Posting-Host: 158.252.122.214 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1013778694 158.252.122.214 (Fri, 15 Feb 2002 05:11:34 PST) NNTP-Posting-Date: Fri, 15 Feb 2002 05:11:34 PST X-Received-Date: Fri, 15 Feb 2002 05:11:34 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:20042 Date: 2002-02-15T13:11:34+00:00 List-Id: Hyman Rosen wrote: > > Marin David Condic wrote: > > Sounds like you're trying to treat a package as if it was a C++ class and > > you're trying to create a new instance of it because it presumably holds a > > set of variables you want to duplicate? First, as you discovered, you can't > > do that. Second, it isn't really the right idiom for Ada. > > Wouldn't it work by just making the package generic? I got a clear impression from the original posting that he was thinking that packages were very much like classes, which is what his example strongly suggested. So I think the postings about generics were answering a question that wasn't being asked :-) Marc A. Criley Consultant Quadrus Corporation www.quadruscorp.com