Use an if statement to determine when the conditions have been met and then use a break statement to exit the loop.
Type: Posts; User: Norm
Use an if statement to determine when the conditions have been met and then use a break statement to exit the loop.
Where is the code that will exit the loop? Can you post the statements to do that?