From: Brendan Reville <breville@mpce.mq.edu.au>
Subject: Passing a function "pointer"
Date: 1998/05/24
Date: 1998-05-24T00:00:00+00:00 [thread overview]
Message-ID: <3567CBEB.3098@mpce.mq.edu.au> (raw)
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
next reply other threads:[~1998-05-24 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-24 0:00 Brendan Reville [this message]
1998-05-24 0:00 ` Passing a function "pointer" Matthew Heaney
1998-05-26 0:00 ` Fabrizio Castrotorres
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox