Browse the docs

Next repeat

Skips the rest of this pass of a Repeat loop and starts the next one.

Skip to the next repeat

Details #

Ends the current pass of the surrounding Repeat and moves on to the next. In a count or forEach loop that means the next number or item. In a while loop the conditions are checked again. The macro carries on after the loop once the passes run out.

Only the innermost loop is affected. It works through If and Group.

Skip one item
Do
  1. Repeat 4 times
  2. If i is 2
  3. Skip to the next repeat
  4. Show “Pass {{ i }}” for 1 s
Open in Switchboard to try it

Parameters #

This step takes no parameters.

Examples #

Only handle matching items
Do
  1. Repeat for each n
  2. If n is below 3
  3. Skip to the next repeat
  4. Append “{{ n }}” to kept
Open in Switchboard to try it

Gotchas #

See also #

Break out of repeat, Repeat, If