Infinite Loop

How will you stop an infinite loop without closing the program?

Questions by sandeep_sb4

Showing Answers 1 - 6 of 6 Answers

For terminating the INFINITE LOOP we can use EXIT statement.

Example:
 LOOP
     monthly_sales:=daily_sales*31;
     EXIT when monthly_sales > 3000;
 END LOOP;
  

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions