At 03:34 PM 2/20/01 -0800, Doran, Steven wrote:

>Does anyone know how to call an Ada 95 function by address (if possible)?

Yes.  Declare an access-to-procedure variable, assign it to the function,
then dereference it with something like "name.all", to the right of the
assignment operator, etc.

I must admit I forget the particular syntax just now (never try to remember
such things) since I haven't done it for some time, but I have done just
that in some of the sample programs in my Ada95 Test Suite.

If you have trouble getting it and no one else remembers better than I do,
I can go back and look for that code.


S. Ron Oliver, semi-retired professor of Computer Science and Computer

caress Corporation is proud to be the U.S. representative for Top Graph'X,
developers of high quality software components, using Ada.  For more
information, check out

Tired of sucky software! ?  Check out and follow the
links to software sucks and The Oliver Academy.