Where is the loop in the code you posted?
In reply to Re: problem in loop break by Corion in thread problem in loop break by GHMON