Scripting reference · Nerdamer Language

continue

Skips the remainder of the current Nerdamer Scripting loop iteration.

continue is consumed by the nearest loop. In a for loop, the update expression still runs before the next condition check.

Examples

These examples use Nerdamer Scripting.

Skip the statements after continue.

block(k:0,s:0,while(3-k,block(k:k+1,continue(),s:s+1)),[k,s])
// → [3, 0]

Interfaces

The same operation is available through the interfaces below.

Nerdamer Scripting

Nerdamer Scripting

Use this form in Nerdamer Scripting input passed to nerdamer(...).

continue()

← Back to Nerdamer Scripting