in reply to Re: searching 2 arrays
in thread searching 2 arrays

You've got an extra brace at the end of your code -- but otherwise a good explanation of the where the OP's bug existed.