comp.lang.ada
 help / color / mirror / Atom feed
* Package Instances???
@ 2002-02-13 21:02 Yates
  2002-02-13 21:12 ` Larry Kilgallen
                   ` (4 more replies)
  0 siblings, 5 replies; 29+ messages in thread
From: Yates @ 2002-02-13 21:02 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] 29+ messages in thread

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

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-13 21:02 Package Instances??? Yates
2002-02-13 21:12 ` Larry Kilgallen
2002-02-13 21:21 ` chris.danx
2002-02-13 21:46 ` Marin David Condic
2002-02-14 17:59   ` Hyman Rosen
2002-02-15 13:11     ` Marc A. Criley
2002-02-15 19:20     ` Simon Wright
2002-02-19 14:08       ` Marin David Condic
2002-02-20  1:37         ` Matthew Heaney
2002-02-20 16:56           ` Marin David Condic
2002-02-21 15:33             ` Matthew Heaney
2002-02-20 19:16           ` Hyman Rosen
2002-02-20 22:31             ` Pat Rogers
2002-02-20 23:44             ` Matthew Heaney
2002-02-21  5:35               ` Hyman Rosen
2002-02-21 14:05                 ` Marin David Condic
2002-02-22 16:49                   ` Hyman Rosen
2002-02-22 17:22                     ` Marin David Condic
2002-02-24  7:39                       ` Hyman Rosen
2002-02-25 15:38                         ` Matthew Heaney
2002-02-22 18:10                     ` Matthew Heaney
2002-02-22 20:55                       ` Hyman Rosen
2002-02-22 21:37                         ` Matthew Heaney
2002-02-24  7:36                           ` Hyman Rosen
2002-02-25 15:27                             ` Matthew Heaney
2002-02-21 15:30                 ` Matthew Heaney
2002-02-21 18:05                   ` Hyman Rosen
2002-02-13 21:50 ` Eric Merritt
2002-02-14 15:08 ` Yates

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