comp.lang.ada
 help / color / mirror / Atom feed
* Passing a function "pointer"
@ 1998-05-24  0:00 Brendan Reville
  1998-05-24  0:00 ` Matthew Heaney
  0 siblings, 1 reply; 3+ messages in thread
From: Brendan Reville @ 1998-05-24  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-05-26  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-24  0:00 Passing a function "pointer" Brendan Reville
1998-05-24  0:00 ` Matthew Heaney
1998-05-26  0:00   ` Fabrizio Castrotorres

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox