fn: continue
[contents]

Contents

Syntax

The syntax for continue calls is:

f++:  
continue

n++:  
@continue

Description

The continue statement skips to the next iteration of the nearest enclosing loop in which it appears.

f++ example

Example of continue being used with f++:

  1. :=(int, i=0)
  2. for(:=(int, i=0); i<10; i+=1)
  3. {
  4. if(i == 6)
  5. continue;
  6. else
  7. console("i: ", i)
  8. }

n++ example

Example of continue being used with n++:

  1. @:=(int, i=0)
  2. @for(:=(int, i=0); i<10; i+=1)
  3. {
  4. @if(i == 6)
  5. @continue;
  6. else
  7. @console("i: ", i)
  8. }