0

Hi, Im currently writing some code to search an array for a key, though am having problems as the if loop I've got stops after one key has been found. the problem is that my array has multiple keys, so it needs to carry on looking! i know that it's probably a really simple thing to fix but after hours of looking at it im stumped!

2
Contributors
1
Reply
2
Views
10 Years
Discussion Span
Last Post by orko
0

You are right. It is really simple thing to fix. Just change your code so that it does not stop at the first occurrence of the key, but it searches through out end of the key list.
Good luck!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.