From: Markus Knauss <markus.knauss@gmx.net>
Subject: Re: Function pointer in Ada?
Date: Tue, 14 May 2002 15:08:22 +0200
Date: 2002-05-14T15:08:22+02:00 [thread overview]
Message-ID: <3CE10C46.8040403@gmx.net> (raw)
In-Reply-To: 5f4adaeaa2a7b35810acd4e20fb98b25.86200@mygate.mailgate.org
Henrik Quintel wrote:
> Hi, as the most people know, in C there is the possibility to make use
> of a function pointer. In Ada this not possible. Does someone knows how
> is it possible to make use of such a feature like a function pointer in
> Ada? I know it is difficult but perhaps someone knows.
Hi,
have a look in the Ada95-RM, Section 3.10 Access Types, Paragraph (26).
A complete example is there. It isn't as difficult as you might think.
Greetings,
Markus
next prev parent reply other threads:[~2002-05-14 13:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-14 12:51 Function pointer in Ada? Henrik Quintel
2002-05-14 13:08 ` Markus Knauss [this message]
2002-05-14 13:12 ` Marin David Condic
2002-05-14 14:36 ` Alfred Hilscher
2002-05-14 17:58 ` Kai Schuelke
2002-05-14 18:01 ` Preben Randhol
2002-05-14 18:24 ` David C. Hoos
2002-05-14 20:00 ` Kai Schuelke
2002-05-14 18:25 ` Marin David Condic
2002-05-15 22:30 ` Kai Schuelke
2002-05-16 11:37 ` Marc A. Criley
2002-05-16 19:06 ` Kai Schuelke
2002-05-16 19:18 ` Preben Randhol
2002-05-16 12:53 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox