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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4461dfe508f301ef X-Google-Attributes: gid103376,public From: Stephen Bleasdale Subject: Callback procedures in DEC Ada83 Date: 1997/05/18 Message-ID: <682.7077T710T120@eateggs.demon.co.uk>#1/1 X-Deja-AN: 242892865 X-NNTP-Posting-Host: eateggs.demon.co.uk [194.222.51.187] Newsgroups: comp.lang.ada Date: 1997-05-18T00:00:00+00:00 List-Id: Hi, Here's my question: I would like to write callback routines in Ada83 using DEC Ada 3.0 on VAX/VMS. I have used e.g. LIB$FILE_SCAN so I know how to use 'ADDRESS to supply callback subprograms for use by existing routines. What I'd to do is actually call a callback routine in my program. I know this is not possible in vanilla Ada83, but ISTR once reading that most implementations provide a non-portable way of doing this sort of thing. I guess what I'm hoping for is that somewhere amongst all the DEC provided routines is something of the form: procedure CALL_PROCEDURE ( ADDR : in SYSTEM.ADDRESS ) ; --- Thanks in advance. Stephen Davies