in reply to Re: if/while/else problem
in thread if/while/else problem

Thank you kennethk, this one did the trick. And thanks to all who gave suggestions, I was really stumped on this one.