Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO WHILE loop is not working #52

Open
Veeramuthur opened this issue May 28, 2020 · 6 comments
Open

DO WHILE loop is not working #52

Veeramuthur opened this issue May 28, 2020 · 6 comments

Comments

@Veeramuthur
Copy link

Hi @Bogdan-Lyashenko

I have simple do while loop. i am trying to generate the chart,that chart i am not able see the 'do'.

function Recorder() {
var i = 1;
do
{
i++;
console.log(i);
}
while(i<=10);
{

}
}

Please help me solve this.
Thanks.

@Bogdan-Lyashenko
Copy link
Owner

EBAA061F-166A-4711-94A4-47DE6A904B7B

Hi, I think it’s a feature, not a bug :) it displays loop body correctly - repeat until condition applies. How would you like “do” to be displayed on flow chart? Thanks.

@Veeramuthur
Copy link
Author

Hi @Bogdan-Lyashenko

Thanks for quick update.whatever you give perfectly fine for while loop.Do while before checking the condition we have to show do statement.

dowhile

@lhttjdr
Copy link

lhttjdr commented Jan 18, 2021

DO-WHILE loop should be distinguished from WHILE loop. Hope this can be fixed in next version.

@Veeramuthur
Copy link
Author

@lhttjdr
Thanks for your update

@826625219
Copy link

I think I can fix this issue, can u assign it for me? @Bogdan-Lyashenko

@Bogdan-Lyashenko
Copy link
Owner

Yeah, go ahead! Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants