In RAPTOR flowchart we can use the Input/Output symbols to provide standard input and get standard output(to Master Console window) from the flowchart. The other way to input and get output from the flowchart is using files.
In this post, we will see the standard Input and output symbols.
Let’s see how to input and output data in a RAPTOR flowchart. You can drag an Input symbol onto the flowchart and double-click on the input symbol.
When an Input symbol is executed in the flowchart, a prompt dialog is displayed prompting the user to enter the input value. The Enter Input dialog box shows a prompt and variable name.
In the Enter Prompt Here enter the text you want to be displayed. This text should be enclosed within quotes. The text typed in this box will be displayed to the user when the flowchart is run.
The Enter Variable Here area holds the name of the variable where the data entered will be stored. The information entered will be stored in a variable and used later in the flowchart.
An Output symbol displays a variable value to the MasterConsole window when the flowchart is executed. We can output text, variable, etc using the output symbol.
We can specify the variable name to output in the prompt dialog.
The Enter Output dialog prompt to specify the information and variables to output.
Alternatively, we can insert the input and output symbols by right click on the Raptor Workspace area and choose the insert menu items.
Approach the problem solving with the IPO chart. IPO stands for Input, Process, and Output.
IPO chart is a table with three columns. IPO chart is a breakout to determine the inputs, processing, and outputs of the flowchart.
The Input column specifies the input to the flowchart entered in Input dialog, input file.
Process columns contain the processing items or computations and calculations done in the flowchart.
The Output column specifies the output of the flowchart displayed in the Master Console window, output file.
For example, IPO chart to compute area of rectangle flowchart would be:
Comments in a Flowchart
Tutorial on how to add readable comments to a flowchart.
More tutorials on RAPTOR: tutorials