From flowchart to program - code design for the newcomer
Archive - Originally posted on "The Horse's Mouth" - 2011-09-29 07:07:25 - Graham Ellis


Progressing on further ... if you have one of the vertical stacks jumping BACK to the decision box, you'll be looking at a loop (with a world like "while" replacing "if"), and if each of the boxes performs a substantial task, then you'll want to write the code for it really simply as a call to a function which you'll write - programming at a macro level, and you can then separately flowchart and "solve" each block in turn. You're headed - without even realising it - for a structured programming technique ...