My stupid decision about "GOTO"

0 votes
asked Feb 19, 2016 in Wanted features by BasyCH (120 points)
:foo1;
#red:1;
:foo2;
if (some test) then
  :foo3;
  #red:1;
  detach
else
  :foo4;
endif
stop
 

1 Answer

0 votes
answered Mar 5 by coalesce (210 points)

But why!

@startuml
:foo1;
repeat
 :foo2;
repeat while (some test)
 :foo4;

stop
@enduml

...