ABSTRACT

A properly prepared flowchart can illustrate logical flow at a glance. Flowcharts are useful for describing or planning the logical flow through a relatively small module, routine, or process. The symbols are linked by flowlines that show the sequence and direction of flow. Crossing flowlines are very difficult to follow and can easily be misinterpreted. To eliminate crossing flowlines, move one or more symbols or use an on-page connector. Off-page connectors are used when the logic is continued on another page or another screen. Logic flowcharts extending over multiple pages are difficult to follow. If a flowchart spills beyond a single page, combine several steps to form a subroutine, link to the subroutine from the primary routine, and independently flowchart the subroutine. Program logic can be expressed as combinations of three basic patterns: sequence, decision, and repetition. The sequence pattern implies that the logic is executed in simple sequence, one block after another.