detach after endwhile - does not detach

0 votes
asked Jul 11 in Bug by boshka (2,680 points)

Sometimes one needs to depict a really infinite loops without exit. To do so:

shouldn't I be able to detach at the exit from while loop? That is, after endwhile:

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuG8pk1GK5CepCdDIDPBpyr8qCuirIefAKpL1mgbvAH2PjCISOeXGIcf9Od86bmDG2cW20000

commented Jul 12 by albert (2,500 points)
Would 'end'  after the while loop be sufficient for you?
commented Jul 12 by boshka (2,680 points)
not quite - end has slightly another meaning. detach would mean that there is no exit from the loop
commented Jul 12 by albert (2,500 points)

Maybe some reformulation (?), though probably the while loop should have to work in @plantuml as well.:

@startuml
start
  repeat
    :Listen user<;
    :Reply user>
  repeat while (forever)
@enduml

(just google e.g. for "plantuml endless loop" )

commented Jul 12 by boshka (2,680 points)
well, I am not stating that there is no other way to achieve the same result.

I just state that there is a bug: detach does not work as expected

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...