comp.lang.ada
 help / color / mirror / Atom feed
* Package instance???
@ 2002-02-13 19:48 Yates
  2002-02-13 22:25 ` Zach Swanson
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Yates @ 2002-02-13 19:48 UTC (permalink / raw)


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?

Thanks

Yates





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-02-15  2:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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