comp.lang.ada
 help / color / mirror / Atom feed
* array of generic packages?
@ 2004-09-22 18:03 a malkiel
  2004-09-22 18:26 ` Ludovic Brenta
  2004-09-22 23:30 ` Stephen Leake
  0 siblings, 2 replies; 6+ messages in thread
From: a malkiel @ 2004-09-22 18:03 UTC (permalink / raw)


hi im somewhat new to ada. i've been trying to nut this one but can't seem 
to. Would anyone know if defining an "array of generic packages" is 
possible? What im looking for is something of the nature:

type shape_type is (circle, triangle);
package shapePointer(1) is new shape(circle);
package shapePointer(2) is new shape(triangle);

thanks in advance.
ciao, andrew 





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

end of thread, other threads:[~2004-09-24 12:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-22 18:03 array of generic packages? a malkiel
2004-09-22 18:26 ` Ludovic Brenta
2004-09-23  2:19   ` a malkiel
2004-09-22 23:30 ` Stephen Leake
2004-09-23  2:15   ` a malkiel
2004-09-24 12:39     ` Peter Hermann

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