Pages

Pages

Simple Loop




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



No comments:

Post a Comment