Creating a simple greeting application

In this lesson, we will create a simple program where the user enters their first and last name.

  1. First, let us create the variable nodes for "First Name" and "Last Name"

  1. Next, we will connect two input node in series to the Start node.

  1. Storing the input values in variables

Running the program now, we are prompted with two inputs. However, the value you put will not be stored anywhere. To store them, we will connect the "Input Value" output-X point to the variable's "Set" input-x point

  1. Using those variables in print nodes

Now, we will use the "get" output-X points to use them in two print nodes

Now let's run it. After being prompted twice, you will see the output :

The last name wrapped to next line because we used two seperate print nodes

As you can see, we used two new instances of the First-name variable and Last-name Variable. Yet, the data printed was the same as the user input.

Congratulations on creating your second application in FlowForge! You now have a better understanding of nodes and connections, go out there and have fun!

Last updated