Simple Loop

0



Simple Loop:

  • The most basic kind of loop, simple loops, have the syntax.

LOOP
    Sequence_of_statements;

  • The sequence_of_statements will be executed between the keywords “LOOP” and “END LOOP”.
  • To keep the loop in finite state the “EXIT” statement is used.
  • We can add one with the EXIT statement which has the following syntax:
  • EXIT [WHEN Condition];

 Click here to go to Back page



About the author

Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus. Aenean fermentum, eget tincidunt.

0 comments:

Recent Posts