another actions in repeat

0 votes
asked Mar 12 in Wanted features by cruperman (190 points)

Hello!
Could you implement the following functionality?
When the condition is true, for example, I want to perform some actions and only then go to the beginning.

:before actions;

repeat

  :some actions;

repeat while (quastion?) then

  :another actions;

endrepeat

:after actions;

Or another

:before actions;

if (quastion?) then

  :true actions;

else

  :else actions;

  goto quastion

endif

:after actions;

1 Answer

+1 vote
answered Mar 13 by wro02922 (220 points)

Hi,

This should help

repeat

  :some actions;
if (another actions?) then 
  break
endif
repeat while (quastion?) 
:after actions;

commented Mar 13 by cruperman (190 points)
Thank you so much! It works, but draws very strangely :)
Instead of the break I used a stop to do as I need.
...