comp.lang.ada
 help / color / mirror / Atom feed
From: x24702@usma.edu (Zach Swanson)
Subject: Re: Package instance???
Date: 13 Feb 2002 18:28:13 -0800
Date: 2002-02-14T02:28:14+00:00	[thread overview]
Message-ID: <50c1a1b.0202131828.61cc30db@posting.google.com> (raw)
In-Reply-To: 3C6AE94F.3754325D@boeing.com

Jeffrey Carter <jeffrey.carter@boeing.com> 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.



  reply	other threads:[~2002-02-14  2:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-13 19:48 Package instance??? Yates
2002-02-13 22:25 ` Zach Swanson
2002-02-13 22:31 ` Jeffrey Carter
2002-02-14  2:28   ` Zach Swanson [this message]
2002-02-14 14:32     ` Marin David Condic
2002-02-14  2:04 ` Bobby D. Bryant
2002-02-14  2:54 ` Steve Doiel
2002-02-14 14:41   ` Marin David Condic
2002-02-15  2:13     ` Steve Doiel
2002-02-14 12:48 ` Marc A. Criley
2002-02-14 15:09 ` Yates
2002-02-14 18:12 ` Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox