i propose to draw flowcharts a little bit differnent.
how about to keep with this rules:
1. a "true" branch is always down.
2. a "false" branch is always right.
this means in devFlowcharter version 0.98:
"if" statement: correct.
"if..else" : true brach is incorrect (because it´s left and not down)
"repeat": both branchs are incorrect (it´s a little bit confusing to use this ruel with pascal repeat, but it´s a very sweet with c/c++ while.)
"do..while": correct
i propose this rule, because it is a sign to the user, that a compiler preferred the true-branch with it´s "step forecast" (sorry, i don´t know the english term for this. but a programm is faster if it choose the "if" part and not the "else" part.)
volker
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i propose to draw flowcharts a little bit differnent.
how about to keep with this rules:
1. a "true" branch is always down.
2. a "false" branch is always right.
this means in devFlowcharter version 0.98:
"if" statement: correct.
"if..else" : true brach is incorrect (because it´s left and not down)
"repeat": both branchs are incorrect (it´s a little bit confusing to use this ruel with pascal repeat, but it´s a very sweet with c/c++ while.)
"do..while": correct
i propose this rule, because it is a sign to the user, that a compiler preferred the true-branch with it´s "step forecast" (sorry, i don´t know the english term for this. but a programm is faster if it choose the "if" part and not the "else" part.)
volker