From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,b9a378a9a09dab87 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Received: by 10.66.83.74 with SMTP id o10mr1073234pay.33.1347019646395; Fri, 07 Sep 2012 05:07:26 -0700 (PDT) Path: t10ni8643801pbh.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!usenet.stanford.edu!panix!newsfeed-00.mathworks.com!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Access to procedure and generics Date: Fri, 31 Aug 2012 10:14:01 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <453242bc-2893-4390-9152-b8eef75b1149@googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1346422441 20760 192.74.137.71 (31 Aug 2012 14:14:01 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 31 Aug 2012 14:14:01 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:C3TkB0pkzEf9CC3wTQ1K4YVUZZ4= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: 2012-08-31T10:14:01-04:00 List-Id: Markus Sch�pflin 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