|
-
Mar 12th, 2000, 11:21 AM
#1
Thread Starter
Junior Member
I need help with arrays. I cannot seem to figure out how to create 2D arrays in VB6. Firstly, is it possible?
Thnak you.
Deiva
-
Mar 12th, 2000, 11:35 AM
#2
Addicted Member
Hi deiva,
I don't have VB6, but in VB5 is like this ...
Dim myArray(2, 2) As Integer
myArray(1, 1) = 3
myArray(1, 2) = 4
myArray(2, 1) = 5
myArray(2, 2) = 6
Debug.Print myArray(1, 1)
Debug.Print myArray(1, 2)
Debug.Print myArray(2, 1)
Debug.Print myArray(2, 2)
Does it help ?
Keiko
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
|