Loop and Condition

In this chapter we are going to learn about the Loop and Condition

Introduction

We can create this program quickly using the Quick Start component

ib_quickstart_loopandcondition.png

Program Steps

After selecting the (Loop and Condition) template, we will get the next steps in the Goal Designer

gd_quickstart_loopandcondition.png

Creating the Program

To create this program we will use the next components

  • For Loop

  • If Statement

  • Print Text

In the begining the Steps Tree is empty

1.png

Select the (For Loop) component

2.png

Enter the data in the Interaction Page

3.png

The Steps Tree will be updated

4.png

Select the (Print Text) component

5.png

Enter the data in the Interaction Page

6.png

The Steps Tree will be updated

7.png

Select the (If Statement) component

8.png

Enter the data in the Interaction Page

9.png

The Steps Tree will be updated

10.png

Select the (Print Text) component

11.png

Enter the data in the Interaction Page

12.png

Now we have the final Steps Tree in our program

13.png