Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
"Is there any way to break a loop?"
wessel
Hey,
Is there any way to break a loop?
Loop
Synopsis
Performs its inner operators k times.
As far as I can tell, there is no way to stop the loop early, so not executing the full k times?
Best regards,
Wessel
Find more posts tagged with
AI Studio
Loops + Branches
Accepted answers
All comments
MariusHelf
Hi,
no that's not possible. The next version will feature a Stop operator, which will however stop the complete process.
What you could do is to use a Branch operator which checks a macro, which you can set in the inner process of Branch to a "stop" value. If the condition of Branch does not longer match, it will execute it's right inner process, which will be pretty fast if you leave it empty.
Best, Marius
wessel
Ah, the branching to "empty process" seems a nice solution, thanks!
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups