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++:

:=(int, i=0)
for(:=(int, i=0); i<10; i+=1)
{
	if(i == 6)
		continue;
	else
		console("i: ", i)
}

n++ example

Example of continue being used with n++:

@:=(int, i=0)
@for(:=(int, i=0); i<10; i+=1)
{
	@if(i == 6)
		@continue;
	else
		@console("i: ", i)
}