comp.lang.ada
 help / color / mirror / Atom feed
From: "Bob McChesney" <bob@teambob.freeserve.co.uk>
Subject: new types
Date: Tue, 8 May 2001 03:39:01 +0100
Date: 2001-05-08T02:37:58+00:00	[thread overview]
Message-ID: <9d7m66$s5b$1@news5.svr.pol.co.uk> (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





             reply	other threads:[~2001-05-08  2:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-08  2:39 Bob McChesney [this message]
2001-05-08  3:41 ` new types Larry Hazel
2001-05-08 13:36   ` Ted Dennison
2001-05-08 15:29   ` Bob McChesney
replies disabled

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