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.
 
Back
Top