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

how to return array from function?

P: n/a
how to return array from function?
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello,

"kathy" <ka***@nospam.com> schrieb:
how to return array from function?


\\\
Public Function ReturnStrings() As String()
Dim astr() As String = New String() {"Hello", "World"}
Return astr
End Function
///

HTH,
Herfried K. Wagner
--
MVP VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #2

P: n/a
Example:
Function myFunction() As String()

End Function
"kathy" <ka***@nospam.com> wrote in message
news:0d****************************@phx.gbl...
how to return array from function?

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.