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,989d8fbfea6cca1b,start X-Google-Attributes: gid103376,public From: Brendan Reville Subject: Passing a function "pointer" Date: 1998/05/24 Message-ID: <3567CBEB.3098@mpce.mq.edu.au>#1/1 X-Deja-AN: 356011039 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: Mathematics, Physics, Computing & Electronics - Macquarie University Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-05-24T00:00:00+00:00 List-Id: hi there, I need to pass a "pointer" (access type?) to a procedure, to another procedure. The second procedure will then call the first using this pointer. How exactly can I do this? Do I need to create an access type to a procedure?? (I'm mainly not sure about the syntax...) Actually, I also need to do this, not for a normal procedure, but for a task's entry point. Can I pass a "pointer" to a task's entry point? Again, exactly how? Thanks heaps. I'm doing Ada for an honours course, and just wasn't sure how to do these things. Much appreciated. - Brendan Reville