Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.18.3 CONTINUE Examples

Using CONTINUE within a BEGIN_LOOP loop

Using CONTINUE within a SELECT

Anchor
Using CONTINUE within a BEGIN_LOOP loop
Using CONTINUE within a BEGIN_LOOP loop
Using CONTINUE within a BEGIN_LOOP loop

This example demonstrates how to use the CONTINUE command in a BEGIN_LOOP loop.

...

If the requested employee number is not found the message is issued and the CONTINUE command causes program control to skip the ADD_ENTRY command and return to the top of the loop at the REQUEST command.

Anchor
Using CONTINUE within a SELECT
Using CONTINUE within a SELECT
Using CONTINUE within a SELECT

This example demonstrates how to use the CONTINUE command within a SELECT loop. Here, with the use of an additional user function key, selected records can be viewed and dropped if not required.

...