CONTINUE

CONTINUE

Top  Previous  Next

 

The CONTINUE statement continues execution of the next cycle of a LOOP/REPEAT or FOR/NEXT structure.

 

 

Format

 

CONTINUE

 

The CONTINUE statement is equivalent to a jump to the REPEAT or NEXT statement of the innermost loop structure.

 

 

Example

 

LOOP

  REMOVE ITEM FROM STOCK SETTING DELIM

  ...processing statements...

WHILE DELIM

  IF ITEM[1,1] = "A" THEN CONTINUE

  ...further statements...

REPEAT

 

This program fragment processes items extracted from the STOCK dynamic array. If the value of ITEM commences with "A", the section marked ...further statements... is omitted.

 

 

See also:

EXIT, FOR/NEXT, LOOP/REPEAT