TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Flowgorithm

Flowgorithm Output Statement

Overview

In this tutorial, we will learn about the Flowgorithm Output Statement. An Output statement allows you to view the information on the Console Window.

Output Statement

An Output statement evaluates an expression and then displays the result on the Console Window. By default, the output statement is represented with a green color parallelogram.

 

Flowgorithm Output Statement

Add Output Symbol

Click on the flow control line. The pop-up window will appear with the flowchart symbols/figures.
Move the mouse over the green parallelogram with the wording “Output”. It will be highlighted with
a blue rectangle.

Click on the figure with the left mouse button and the output figure will be inserted into the flowchart diagram. Initially, the figure will appear colored in gray. The gray color indicates that the output figure is incomplete. We need to provide more information to the figure in order to function.

 

Flowgorithm Output Gray Color

Double click on the output figure to enter the edit mode. We can provide an expression that needs to appear on the Console window.

For example, to display the text “Hello, World” on the Console Window.

Output Statement NewLine Option Flowgorithm

Click on the OK button to continue.

We can check the New Line option if required. This option acts like the Carriage Return function for the output. This option affects the display of the next output messages with or without a carriage return. Flowgorithm will create an output message on a new line for each Output symbol.

The green color of the output figure will indicate successful creation.

 

Output Flowgorithm Display Console

 

XML Syntax

XMLFlowchart Output Symbol
<output expression=”” newline=”True”/>

The XML tag for the Output symbol. The symbol is empty and the expression that prints on the console window are not defined yet.

flowgorithm_xml_output_symbol
<output expression=”&quot;Hello World!&quot;” newline=”True”/>

The XML tag for the Output symbol with expression defined. The symbol prints Hello World! message onto the console window.

flowgorithm_output_xml_expression

Exercises

#1

Print two lines of text on the Console window using two Output symbols.

Desired Output:

Hello
World

Output Symbol Exercise Flowgorithm

#2

Correct the error in the flowchart. The aim of the programmer is to print Hello onto the Console window. However, the flowchart throws the following error:

Variable Not Declared

 

Output Symbol Error Flowgorithm Ex

—

Flowgorithm Tutorials

Flowgorithm flowchart tutorials on this website:

https://www.testingdocs.com/flowgorithm-flowchart-tutorial/

Flowgorithm Website

For more information on the Flowgorithm tool, please visit the official website at:

http://flowgorithm.org/

Related Posts

Print Triangle Pattern Flowchart

Flowgorithm /

Print Triangle Pattern Flowchart

Flowgorithm Breakpoint Symbol

Flowgorithm /

Flowgorithm Conditional Breakpoint Statement

File Read Declare Variables

Flowgorithm /

Flowgorithm Read Numbers from File Example

File Search Input File Flowgorithm

Flowgorithm /

Search Text File Flowchart Example

Flowgorithm Turtle Graphics Symbols

Flowgorithm /

Flowgorithm Turtle Graphics Symbols

‹ Flowgorithm Input Statement› Flowgorithm Edit Options

Recent Posts

  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Print Triangle Pattern Flowchart
  • RAPTOR Editions
  • Flowgorithm Conditional Breakpoint Statement
  • Flowgorithm Read Numbers from File Example
  • Search Text File Flowchart Example
  • Flowgorithm Turtle Graphics Symbols
  • Draw Circle using Flowgorithm Turtle

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version