Double post: http://cboard.cprogramming.com/showt...threadid=43646
why not just loop through the array and compair x in an if statement? that should shorten up your code