Hi,
I was wondering if anybody could help me. I found some code to search an array on this message board.
It all seems to work fine except that I would like to know the location in "Note_Array" that the match was found. I imagined that the value of x would be the location in the array, however the value of x doesn't seem to change.Code:for( x = 0; x < arraySize; x++ ) { if( Note_Array[x] == note_no ) break; }
What am I doing wrong?
thanks,
Paul.