BERTRAND Joel <joel.bertrand@xxxxxxxxxxx> writes: > I'm trying to debug a subroutine in a very long program. You can find > this GPL'd program at http://www.rpl2.net/. It's unlikely that anybody here is going to download and debug your large program. We do better with standlone test cases. I can assure you that the while statement is not broken. I recommend that you step through the code in a debugger and find out what is happening. Sorry I can't be of more help. Ian