Saturday, December 13, 2014

Flowchart

รูปแบบ Sequence



The flowchart above demonstrates a sequence of steps. The reader would start at the Start shape and follow the arrows from one rectangle to the other, finishing at the End shape.  A sequence is the simplest flowcharting construction. You do each step in order.

If your charts are all sequences, then you probably don't need to draw a flowchart. You can type a simple list using your word processor. The power of a flowchart becomes evident when you include decisions and loops. 

RFFlow allows you to number your shapes if you wish. Run RFFlow and click on Tools, Number Shapes, and put a check mark in Enable numbers for the entire chart. You can also choose to have a number or not in each individual shape and you can quickly renumber your chart at any time.

รูปแบบ Decision

This structure is called a decision, "If Then.. Else" or a conditional. A question is asked in the decision shape. Depending on the answer the control follows either of two paths. In the chart above, if the temperature is going to be less than freezing (32 degrees Fahrenheit) the tomatoes should be covered. Most RFFlow stencils include the words "Yes" and "No" so you can just drag them onto your chart. "True" and "False" are also included in most of the flowcharting stencils.

รูปแบบ Loop


The above chart performs the task 10 times as X counts from 0 to 10. This is just a Repeat Until X is equal to 10, but it is so common a structure that some refer to it as the "For Loop." The names are really not important. What is important is that you use only the basic structures shown here to create a structured flowchart.



No comments:

Post a Comment