Skip to Content
0
Former Member
Jul 06, 2006 at 07:46 PM

Exiting a Loop.

23 Views

Experts,

I am in a loop, say the third record out of ten, I have a scenario where I neeed to exit that third instance of the loop so no subsequent processing occurs within that instance of the loop. I say exit. However, I want to loop to the fourth record and let it process thru the loop.

When I say exit it exits the loop all together. Is there a syntax I can use to only quit out of that third record out of ten and then loop at the fourth record? Otherwise it looks like the old reliable set a flag so it does not continue processing within the rest of that occurence of the loop. I have too many nested IFS already within this loop and am trying to avoid another one.

Thank-You.