2 dimentional array

  • Thread starter Thread starter shachar
  • Start date Start date
S

shachar

hi all.
in my vb.net application i have 2 function's.
the first func' must get a 2 dimen' array as a parameter
and send it to the second function.
the problem is that i dont know the exact size of the
array, it can be: (30,3) , (2,3) , (6,3)
how can i define it so it would work fine?
if i write function kuku (arr(10,3) as string=nothing) as
int
i get an underline under the "10" saing: "Array Bounds
Cannot appear in type specifiers"
why?
 
Try

Private Function testFunc(ByVal var(,) As Object) As Boolean

End Function
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top