← All ideas
  • Published 19 Dec 2023

Repeat Zone with skip , Do-While repeat zone

My proposal is Repeat Zone add skip iteration by boolean condition. Like Simulation Zone in 4.0


and add Do-while Repeat Zone. Some algorithm need repeat iteration with unknown size of repeat time. Repeat Enhancement.png

To ending repeat operation, set repeat condition boolean to false in Do-while repeat zone output .

Do-while repeat zone have "Max Iteration" integer input to limit iteration for prevent infinite repeat loop ( If no ending condition ). Evaluate at Max Iteration if exceed Max Iteration count before ending condition.

100%

Development Status: Open

Upvote 20 Downvote 0
gun6378
19 Dec 2023

2 Comments

I feel it would be more compact to have it as one Repeat zone and have two fields in Repeat Output such as "Skip" and "Break".

3
thomas83

A "stop" boolean is relatively straightforward to get your head around, and so is a "skip" boolean, but I think it would be good to put it out there in case anyone else has started to think "skip" would be redundant: Even if you skip an iteration, the iteration count should still add 1, so that you're not stuck in an endless loop of having it skipped over and over again.