469,645 Members | 1,689 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

how to return array from function?

how to return array from function?
Nov 20 '05 #1
2 21191
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
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.

Similar topics

16 posts views Thread by priya | last post: by
2 posts views Thread by Ali | last post: by
reply views Thread by DWalker | last post: by
9 posts views Thread by =?Utf-8?B?RGFya21hbg==?= | last post: by
4 posts views Thread by tyv | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.