While Loop

Are there any plans for a while loop / region?
And if not, what would be the best practice to implement such a behaviour?
A for loop with a big number of iterations and a break?

yes, that is the most easy solution…

Note that a potential future while loop would probably come with a “Max Iterations” input, just to make sure that the application will not hang in case you’re just in the process of building your program and the break doesn’t get fired yet. So in the end a while loop would be the same as a normal loop, just with a less prominent “Iteration Count” pin, renamed to “Max Iteration Count” and having a different default, like 9999. So using a loop for now is not even a workaround, it is the same thing. We’d just present it differently, if.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.