in reply to Re: Program enters infinite loop, can you see why?in thread Program enters infinite loop, can you see why?
That doesn't really explain anything. In the following, what you said applies to $x, yet it doesn't loop forever.