I'd like to replace the empty diamond at the start of a repeat loop with an action.
In the following example, if the "data is invalid", I just want to "prompt for data" again:
start
repeat
:prompt for data;
repeat while (data is valid) is (no) not (yes)
:use data;
stop
I looked in past questions and discovered a few things, but nothing about this particular case. It seems like it would make the diagram a little smaller.
Maybe something like repeat (prompt for data)
I can sort of do it with a while loop, but it would not look as nice.
Thank you!