comp.lang.ada
 help / color / mirror / Atom feed
* new types
@ 2001-05-08  2:39 Bob McChesney
  2001-05-08  3:41 ` Larry Hazel
  0 siblings, 1 reply; 4+ messages in thread
From: Bob McChesney @ 2001-05-08  2:39 UTC (permalink / raw)


Could anyone please help me? I'm trying to make a new type of an access
type. Is that possible?

eg.
you know you can do:
    type BobType is new Integer

but can you do:
    type BobType is new Set_Class.Set
where Set is:
    type Set access Set_Header
?????

I've tried to do this and I get the error 'invalid prefix in selected
component "Set_Class" '

I don't know if it matters but Set_Class is generic.

Thanks,
Bob McChesney





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

end of thread, other threads:[~2001-05-08 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-08  2:39 new types Bob McChesney
2001-05-08  3:41 ` Larry Hazel
2001-05-08 13:36   ` Ted Dennison
2001-05-08 15:29   ` Bob McChesney

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