As an aside, most programing languages have something to convert a literal string to all lower or upper case.
Usualy, it's something like touper and tolower.
Using that would greatly simplify your code, and maybe solve your problem.
To cover all permutations, this statement:
proceed = "yes" or "Yes" or "YES" or "yES" or "yEs"
would realy need 8 permutations, not only 5, but only a single "yes" or "YES" after converting to all lower or upper case.
Electro
December 2013