Chris Williams: > I'm not seeing it. "while (true)" is no more an infinite loop > than "for (i = 0; i < x; i++)", if the body of the while has a > break or return statement. I see, so there's nothing to improve here :-) Bye, bearophile