Subject: Searching a two dimensional array
Posted By: Dinesh22 Post Date: 1/12/2004 8:11:09 PM
Hi there,
         I want to know if there is a way to search in a two dimensional array. I want the program to return the order of the element(in the array) i am searching for.

Thanks,
Dinesh

Reply By: planoie Reply Date: 1/13/2004 2:16:19 PM
For i = 0 To aryArray.GetUpperBound(0)
    For j = 0 To aryArray.GetUpperBound(1)
        'Do Your search test and save off i and j
    Next
Next

Peter
------------------------------------------------------
Work smarter, not harder.

Go to topic 8488

Return to index page 970
Return to index page 969
Return to index page 968
Return to index page 967
Return to index page 966
Return to index page 965
Return to index page 964
Return to index page 963
Return to index page 962
Return to index page 961