comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Access to procedure and generics
Date: Fri, 31 Aug 2012 10:14:01 -0400
Date: 2012-08-31T10:14:01-04:00	[thread overview]
Message-ID: <wcc1uin409i.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: k1i6nn$3ib$1@speranza.aioe.org

Markus Sch�pflin <no.spam@spam.spam> writes:

> Am 28.08.2012 12:22, schrieb Egil H�vik:
>>
>>>    CALLBACK.REGISTER_CALLBACK(The_Handler'Access);
>>
>> Should of course be:
>> CALLBACK.REGISTER_CALLBACK(The_Handler);
>>
>
> Nope, doesn't work.

In addition to declaring the constant, you need to move the
instantiation to a non-nested place (in some library package,
rather than inside a procedure).

- bob



  reply	other threads:[~2012-09-07 12:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28  9:46 Access to procedure and generics Markus Schöpflin
2012-08-28 10:20 ` Egil Høvik
2012-08-28 10:22   ` Egil Høvik
2012-08-28 10:32     ` Markus Schöpflin
2012-08-31 14:14       ` Robert A Duff [this message]
2012-08-28 10:41 ` Georg Bauhaus
2012-08-28 10:47   ` Markus Schöpflin
2012-08-28 15:57 ` Adam Beneschan
2012-08-28 16:01   ` Adam Beneschan
2012-08-29  3:52   ` Brad Moore
2012-08-29 11:25   ` Markus Schöpflin
replies disabled

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