472,119 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

how to return array from function?

how to return array from function?
Nov 20 '05 #1
2 21379
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.