From: Nick Roberts <nickroberts@callnetuk.com>
Subject: Re: attributes in generic procedure
Date: 1999/11/25
Date: 1999-11-25T00:00:00+00:00 [thread overview]
Message-ID: <383DC78E.63A556E5@callnetuk.com> (raw)
In-Reply-To: 818esd$t6l$1@nnrp1.deja.com
daelen@my-deja.com wrote:
>
> I would like to create a generic procedure as shown below which will only be
> used for scalar types. Does anybody have a hint how to accomplish this?
>
> generic
> type A_Type is private;
> ...
> end Update;
The answer is simple:
generic
type A_Type is (<>);
...
I suspect the poster needs to do a little brushing up on generics.
--
Nick Roberts
Computer Consultant (UK)
http://www.adapower.com/lab/adaos
next prev parent reply other threads:[~1999-11-25 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-21 0:00 attributes in generic procedure daelen
1999-11-21 0:00 ` Matthew Heaney
1999-11-25 0:00 ` Nick Roberts [this message]
1999-11-29 0:00 ` Niklas Holsti
1999-11-29 0:00 ` Robert Dewar
1999-12-03 0:00 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox