Ok, I have to go back to school. Clearly the loop is finding the note ‘tool’. It shows up in the variable $found.
But the equality test never sets $notename to ‘tool found’ no matter what I do. Help!
NoteListt is of list type, found is a string, notename is a string.
When I set the test to inequality, !=, the string $notename is set to ‘tool found’.