giovedì 18 giugno 2009

Pass two dimension Array into a Function

Today I was trying to create a function that would accept a two-dimensional array as parameter,
it wasn't so intuitive, after some research I found the solution :

Function MultiArray(ByVal arr(,) As String)
..
End Function

in case of three-dimensional array it will be :

Function MultiArray(ByVal arr(,,) As String)
..
End Function

and so on

0 commenti:

Posta un commento