By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 905 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Richard,

Have you looked at System.Delegate and the AddressOf operator in the help?

Dan

"Richard" <an*******@discussions.microsoft.com> wrote in message
news:08****************************@phx.gbl...
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

Nov 20 '05 #2

P: n/a
* "Richard" <an*******@discussions.microsoft.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.