TABLE OF CONTENTS

6.1.1. Set variable to 0.


Initialize the variable to 0.

Example 6.1.1.


6.1.2. A variable.


Get the name of the variable.

Example 6.1.2.


6.2.1. Repeat 10 times.


Repeat the set of blocks 10 (finite) number of times.

Example 6.2.1.


6.2.2. Count with variable within a range by 1.


Count with variable within a specified range by a specified number.

Example 6.2.2.


6.2.3. Repeat while. 

Repeat the blocks inside it while the given condition is satisfied.

Example 6.2.3.


6.2.4. Repeat until. 


Repeat the blocks inside it until the given condition is satisfied.

Example 6.2.4.


6.2.5. Break out of loop.


This block will break out of the containing loop

Example 6.2.5.


6.2.6. Continue with next iteration of loop.


This block will skip the rest of the loop and continue with the next iteration

Example 6.2.6.


6.3.1. If condition.


The blocks under this block gets executed when the condition gets satisfied.

Example 6.3.1.


6.3.2. If else. 

You can add an ‘if else’ / ’else’ statement where you can add more blocks to execute it. Just drag the ‘if else’ / ’else’ part of the block to the right side.

Example 6.3.2.


6.3.3. If else-if else.


Set this variable to set my variable with integer more than or less or equal to a value.

Add this block under the ‘do’ part of a “whenever’ or ‘when’ block is to execute it.

Example 6.3.3.


6.3.4. Condition.


This block helps to set the condition

Example 6.3.4.


6.3.5. And/Or.


This block helps to check two conditions simultaneously.

Example 6.3.5.

Before execution


After execution


6.3.6. True/False.


This block gives the boolean value of true/false.

Example 6.3.6.

Before execution




After execution