How to pass a subroutine as a parameter to another subroutine?

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

Hi. How can I pass a subroutine as a parameter to another
subroutine? How would the formal parameter list needs to
be declared in order to receive a rubroutine (address)?

Thanks in advance,

Richard
 
* "Richard said:
Hi. How can I pass a subroutine as a parameter to another
subroutine? How would the formal parameter list needs to
be declared in order to receive a rubroutine (address)?

Have a look at the chapter about "Delegates" in the documentation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top