I think I understand your problem, but I'm not certain. If I have
guessed correctly, your user is typing BUTTERFLY instead of 6, and
HATSTAND instead of 42, and you want to be able to detect this and
terminate the program if it happens.
If that is your problem, we can easily help you to improve the input
method you are using. But to do that, we need to see /which/ input
method you are using. So please post the smallest complete, compilable
program that demonstrates the problem you are having, and we'll help
you to sort it out.
"Usenet is a strange place" - dmr 29/7/1999
email: rjh at the above domain, - www.