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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,88e7ef9008757431 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Function Calls by Address Date: 1999/08/30 Message-ID: <7qf2mi$g4h$1@nnrp1.deja.com>#1/1 X-Deja-AN: 519023076 References: <37CADE68.6AF06F5D@escmail.orl.lmco.com> X-Http-Proxy: 1.0 x33.deja.com:80 (Squid/1.1.22) for client 32.101.128.216 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Mon Aug 30 23:04:57 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-08-30T00:00:00+00:00 List-Id: In article <37CADE68.6AF06F5D@escmail.orl.lmco.com>, Craig Jameson wrote: > Does any one know how to make dynamic function calls in Ada83. > I am writing an application using AIX Motif bindings and I > need to create a dynamic list of functions to be called when > a particular X event is dispatched. Any ideas on how to > create and use such a list? There is no way to do this in Ada 83. A given Ada 83 compiler may have some implementation dependent kludge, e.g. the pragma Import with address clause trick. Contact your vendor here, this is not a language question! At the very least you have to say exactly what compiler you are using on what machine, and of course it should be noted that in Ada 95, the solution is straightforward. Robert Dewar Ada Core Technologies Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.