|
-
Oct 2nd, 2002, 02:34 PM
#1
Thread Starter
Lively Member
Arrays
Hi,
What is the code for 2d arrays i thing it's as below but it does not work,
dim myarray as string
myarray = array(10,10)
myarray(4,6) = "String"
Thanks
Joolz
-
Oct 2nd, 2002, 02:37 PM
#2
Frenzied Member
VB Code:
Dim myarray(10,10) as string
myarran(4,6) = "String"
-
Oct 2nd, 2002, 02:41 PM
#3
Thread Starter
Lively Member
-
Oct 2nd, 2002, 02:52 PM
#4
PowerPoster
Some crazy sample just to give you an idea:
[Highlight=VB]
Dim MyArray(9, 9) As String
Dim i%, j%
For i = 0 To 9
For j = 0 To 9
MyArray(i, j) = i & "Item " & j
Next j
Next i
Debug.Print MyArray(5, 9)
[/bvcode]
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
|