|
-
Apr 2nd, 2002, 02:24 PM
#1
Thread Starter
Lively Member
Dim MyArray(,) As Integer
-
Apr 2nd, 2002, 08:49 PM
#2
Member
Hi WideAwake.
Ok, but how can I pass the initial values for the 2 dimensions at the same line? Can I put something like {1,2,3},{1,2,3} ?
Thanks.
-
Apr 2nd, 2002, 10:22 PM
#3
Thread Starter
Lively Member
Dim MyArray(3,3) As Integer
Would give you a 3x3 block
Or maybe at the begining of your form you could have:
Dim MyArray(,) As Integer
Then maybe you need to run a routine before you know the size, so once the size has been found you could do something like:
ReDim MyArray(amount-1, rows) as integar
-
Apr 2nd, 2002, 11:40 PM
#4
Code:
Dim A(,) As String = {{"0,0", "0,1"}, {"1,0", "1,1"}}
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
|