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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d8e7e976ead4a812 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-14 06:10:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-han1.dfn.de!news-stu1.dfn.de!news.belwue.de!news.uni-stuttgart.de!not-for-mail From: Markus Knauss Newsgroups: comp.lang.ada Subject: Re: Function pointer in Ada? Date: Tue, 14 May 2002 15:08:22 +0200 Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <3CE10C46.8040403@gmx.net> References: <5f4adaeaa2a7b35810acd4e20fb98b25.86200@mygate.mailgate.org> Reply-To: markus.knauss@gmx.net NNTP-Posting-Host: p-s-dyn12.informatik.uni-stuttgart.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-stuttgart.de 1021381853 20996 129.69.217.182 (14 May 2002 13:10:53 GMT) X-Complaints-To: news@news.uni-stuttgart.de NNTP-Posting-Date: Tue, 14 May 2002 13:10:53 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010923 X-Accept-Language: de-de, en-us Xref: archiver1.google.com comp.lang.ada:24013 Date: 2002-05-14T15:08:22+02:00 List-Id: 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