TestingDocs.com
Software Testing website
  • JBehave
  • Selenium
  • Testlink
  • Maven
  • Git
  • RAPTOR
  • Questions

Arrays in Raptor Flowchart

Tweet
Pin it

Document Contents

  • Introduction
  • Sample Flowchart
  • Output of the flowchart
  • Reading values into an array

Introduction

An array is a named collection of variables of the same datatype. Individual variables in an array can be accessed by the index.

Arrays hold more than one object. All objects that are stored in the array must be of the same data type. For Example, if the array is a number array then all the objects in the array must be numbers. An object in the array is associated with an integer index which can be used to locate the object. The first object of the array has index 1.

Unlike in most programming languages like Java where the array index starts with 0, in the Raptor flowchart, the index of an array starts at 1.

Sample Flowchart

Let’s use a single dimensional array to calculate the sum of rainfalls in a city using the Raptor flowchart. We use rainfall as an array variable to hold the rainfalls of the city.

Array in Raptor Flowchart

Individual array elements in the array can be accessed using rainfall[index]

index is an integer and starts with 1

We can also store variables in the array using the index. For example, to store 12 cm of rainfall for the 3 month, we can use

rainfall[3] <- 12

 

Raptor flowchart Rainfall arrayy

Output of the flowchart

Raptor Output

 

Reading values into an array

https://www.testingdocs.com/questions/how-to-read-values-into-an-array-using-raptor-flowchart/

 

Raptor Tutorials on this website can be found at:

https://www.testingdocs.com/raptor-a-flowchart-tool/

RAPTOR official website: https://raptor.martincarlisle.com/

Related Posts

Raptor Flowchart /

Writing to a file with RAPTOR

Raptor Flowchart /

Simulation of probabilities die roll using Raptor Flowchart

Raptor Flowchart /

String Operations in Raptor Flowchart

Raptor Flowchart /

Raptor Subcharts Demo Flowchart

Raptor Flowchart /

User input validation in Raptor flowchart

Tag Cloud

Agile Appium Tutorials C++ Eclipse Tutorials Git Tutorials IntelliJ Tutorials Java Java Tutorial JBehave Jenkins Jira Cloud JUnit Tutorial Maven Object-oriented Flowchart Python Tutorials Raptor Flowcharts Selenium IDE TestLink Tutorials

Random Posts

  • TestLink Bitnami Cloud Image
    Overview In this tutorial, we will see the steps

    Read more

  • Code Coverage Tools
    Overview Let’s look at some of the code coverage

    Read more

  • pCloudy Continuous Testing Cloud
    Overview pCloudy is a continuous testing cloud

    Read more

Latest Tweets

Tweets by @TestingDocs

Back to Top

TestingDocs.com

  • Privacy Policy
  • Cookie Policy
  • JBehave
  • Selenium
  • Testlink
  • Maven
  • Git
  • RAPTOR
  • Questions
www.TestingDocs.com | All Rights Reserved