Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Command Index > C

CONTINUE (Short Name: CONT)

Scroll Prev Top Next More

Use the CONTINUE command to move to the next occurrence of the WHILE loop and run the code.

 

CONTINUE

 

Example

 

In the following example, when the code is run, processing returns to line 3 after it completes the CONTINUE command on line 6. The while-block commands in line 8 are not run.

 

SET VARIABLE v1=0

SET VARIABLE V2=1

WHILE v1 = 0 THEN

   *(while-block commands)

 IF v2 <> 0 THEN

   CONTINUE

 ENDIF

   *(while-block commands)

ENDWHILE