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-13 13:12:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Package Instances??? Date: 13 Feb 2002 15:12:43 -0600 Organization: LJK Software Message-ID: References: <721b6d80.0202131302.1ccce2ed@posting.google.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1013634764 6233 192.135.80.34 (13 Feb 2002 21:12:44 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 13 Feb 2002 21:12:44 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:19975 Date: 2002-02-13T15:12:43-06:00 List-Id: In article <721b6d80.0202131302.1ccce2ed@posting.google.com>, yates_1900@yahoo.com (Yates) writes: > I am new to Ada. I'd like to know if it is possible to create multiple > instances of a package. For example, if I have a package 'My_Package', can > I do something like: > > 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 just said that.