By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,012 Members | 988 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,012 IT Pros & Developers. It's quick & easy.

2 dimentional array

P: n/a
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?
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Try

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

End Function

"shachar" <an*******@discussions.microsoft.com> wrote in message
news:0a****************************@phx.gbl...
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?

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.