[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Exiting loop function

This is not a problem with exiting standalone loop (command "Exit") but if I have loop - for example:

for i := 0 to 100 then begin
...
...
and within this loop I have another loop, what can I do, if I want to exit only this nested loop when some condition is achieved without executing the rest of it and let the primary loop run another round?
0
JackKuti
Asked:
JackKuti
1 Solution
 
2266180Commented:
break; will be the answer to that :)
0
 
JackKutiAuthor Commented:
Break - thats it! I have absolutely forgotten this command. Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now