Hello forum Buddies,
I have populated an X,Y Array with (Random X coordinate), (Random Y coordinate), and other info about a sprite that will eventually be placed on the screen. So each Y axis line is a new object with x,y coordinates.
I also created a Dropdown box that lists each object location as ?X,Y?. This box is populated in the for next loop creating the random coordinates.
How would I do a search of the Array to find the Y line (I need CurY of Array) where X0 = tokenat(List.SelectedText,0,",") and X1 = tokenat(List.SelectedText,1,",")? It would start with-> List: on selection changed
Example: ARRAY
X0 , X1
Y0 213 , 435
Y1 123 , 654
Example:Dropdown List
213,435
123,654