I have a nested FOR loop and i want to jump from one loop to another within it. Help required.
Pramod Nair Member Dec 17, 2015 #1 I have a nested FOR loop and i want to jump from one loop to another within it. Help required.
Cringer ProgressTalk.com Moderator Staff member Dec 17, 2015 #2 It might help if you provide some sample code of what you mean. But you can give blocks a label. Code: xyzBlock: FOR EACH xyz: abcBlock: FOR EACH abc: IF abc.field <some criteria> THEN NEXT xyzBlock: END. END.
It might help if you provide some sample code of what you mean. But you can give blocks a label. Code: xyzBlock: FOR EACH xyz: abcBlock: FOR EACH abc: IF abc.field <some criteria> THEN NEXT xyzBlock: END. END.
Pramod Nair Member Dec 17, 2015 #3 Cringer said: It might help if you provide some sample code of what you mean. But you can give blocks a label. Code: xyzBlock: FOR EACH xyz: abcBlock: FOR EACH abc: IF abc.field <some criteria> THEN NEXT xyzBlock: END. END. Click to expand... Grt it works Thanks Cringer
Cringer said: It might help if you provide some sample code of what you mean. But you can give blocks a label. Code: xyzBlock: FOR EACH xyz: abcBlock: FOR EACH abc: IF abc.field <some criteria> THEN NEXT xyzBlock: END. END. Click to expand... Grt it works Thanks Cringer