comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: newbie to generic
Date: Fri, 17 May 2002 19:40:47 GMT
Date: 2002-05-17T19:40:47+00:00	[thread overview]
Message-ID: <3CE55CBE.1AB01923@acm.org> (raw)
In-Reply-To: ac2hbs$ljq$1@newstoo.ericsson.se

> Sebastian wrote:
> 
> whats wring with this?
> 
> function To_Add is new
> System.Address_To_Access_Conversions.To_Address(Procedure_Ptr_Type);
> 
> "Procedure_Ptr_Type" is my Object.

Why do you want to mess with addresses? If you don't understand generics
yet, you are unlikely to understand the very few circumstances in which
you need to deal with addresses in Ada.

-- 
Jeff Carter
"Monsieur Arthur King, who has the brain of a duck, you know."
Monty Python & the Holy Grail



  parent reply	other threads:[~2002-05-17 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ac2hbs$ljq$1@newstoo.ericsson.se>
2002-05-17  9:35 ` newbie to generic Preben Randhol
2002-05-17 19:40 ` Jeffrey Carter [this message]
2002-05-17  9:26 Grein, Christoph
replies disabled

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