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,95971bf29a745ff4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-13 18:28:14 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: x24702@usma.edu (Zach Swanson) Newsgroups: comp.lang.ada Subject: Re: Package instance??? Date: 13 Feb 2002 18:28:13 -0800 Organization: http://groups.google.com/ Message-ID: <50c1a1b.0202131828.61cc30db@posting.google.com> References: <3C6AE94F.3754325D@boeing.com> NNTP-Posting-Host: 134.240.36.230 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1013653694 30382 127.0.0.1 (14 Feb 2002 02:28:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 14 Feb 2002 02:28:14 GMT Xref: archiver1.google.com comp.lang.ada:19990 Date: 2002-02-14T02:28:14+00:00 List-Id: Jeffrey Carter wrote in message > > p1 : My_Package := new My_Package > > p2 : My_Package := new My_Package > > ..... > > > > I tried this and didn't work. Is there other ways to do it? > > You can if My_Package is a generic package. However ... Nope that fails even if its a generic because the syntax is incorrect. The declaration should be p1 : my_package is new some_other_package to be correct.