How to pass an array in Raptor Flowchart
Overview
In this tutorial, we will learn the steps involved to pass an array in a Raptor flowchart. Array declaration is automatic in Raptor flowchart. We will create two procedures/modules to fill the array using user prompts. Then the pass the array to print module.
Pass an array
We can pass the array using the name to a procedure. For example, if the array is arr and the procedure name is printArray() then we can pass the array using:
printArray(arr)
The fillArray procedure fills the array with the user entered numbers into the array. It then calls the printArray procedure to print the array on to the Master console window.
Main Flowchart
Print array procedure
The print module outputs the array elements to the console window.
Sample Output
Raptor Tutorials on this website can be found at:
https://www.testingdocs.com/raptor-a-flowchart-tool/
RAPTOR official website: https://raptor.martincarlisle.com/