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:15:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: "Bobby D. Bryant" Newsgroups: comp.lang.ada Subject: Re: Package instance??? Date: Wed, 13 Feb 2002 20:04:35 -0600 Organization: dis- Message-ID: References: NNTP-Posting-Host: dial-53-71.ots.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: geraldo.cc.utexas.edu 1013652364 25564 128.83.57.167 (14 Feb 2002 02:06:04 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Thu, 14 Feb 2002 02:06:04 +0000 (UTC) User-Agent: Pan/0.11.2 (Unix) X-Comment-To: "Yates" Xref: archiver1.google.com comp.lang.ada:19989 Date: 2002-02-13T20:04:35-06:00 List-Id: On Wed, 13 Feb 2002 13:48:56 -0600, Yates wrote: > 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? It would help if you would tell us what you are trying to do. Are you trying to create multiple instances of some "OO" object? Bobby Bryant Austin, Texas