|
-
Jan 22nd, 2004, 10:57 AM
#1
Thread Starter
New Member
Passing multi-dimensional arrays to functions
Just starting using VB.net
In VB6 I could..
Dim Array1(,) as string
dim blah as string
stuff happens to array1, and it gets filled with stuff
array1= passingarray(array1)
Function passingarray(Array2() as string)
stuff happens
passingarray=array2
end function
Now it's telling me that I can't convert the two dimensional array array1 into the one dimensional array2. Can't set the array dimensions on the parameter list for array2 either.
Any suggestions? Course I need to recode this part anyway. Maybe it's a sign
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|