I have a 3 level array. First level is a list of trains. Second level
are items about the train. Third level is where there are multiples of
the second level item.
The search will be of myArray[i][2][j]
i is train entry, 2 is the item i'm searching and j are the individial
items.
My search will be FOR (i=0 etc , FOR (j= 0 etc.
The limit will be the number of items in the array level. How do I
break out of the FOR loops when I find a match? Most languages have an
EXIT statement. It there one in javascript? I must break out of 2 FOR
loops when I find a match. It would be a waste of time to complete the
loops.
--
Dennis M. Marks
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----