3.3.1. Forever :

Loop is a action of continuous process, here forever is a command used to do the action again and again.

Example 3.3.1

Forever function is used for continuous operation of light turn on and off simultaneously.

3.3.2. Repeat while :


Repeat while the function is used to do the action in command but meanwhile in the same time do follow the other actions by set.

Example 3.3.2

When repeat while used, there can be a variable also used meanwhile doing the light turn on and off function.

3.3.3. Repeat 10 times :

Simple command used to set the loop function in times and then break out of loop action.

Example 3.3.3

When repeat function used, the loop times can be defined to a set of routines.