Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to pass 2-dimensional array to a function in VB.NET

Status
Not open for further replies.

sony2000

Programmer
Dec 7, 2003
34
0
0
HK
Hi,

I encounter a problem of passing a 2-dimensional array
into a module function. I search the web for the solution
but failed to find it. Do you know how to do it?
Any sample code to help?

Thanks for your kind attention,
Raymond
 
Code:
private function test(byval testarray() as string) as string

'do things

end function

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
How about 2-dimensional array? what is the syntax?
Thanks!

Raymond
 
You may need to declare that testarray() parameter as testarray(,)
 
RiverGuy, it works, Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top