TABLE OF CONTENTS
- 4.1.1. When program starts
- 4.1.2. When program ends
- 4.1.3. Whenever up is clicked
- 4.2.1. Wait for 2 seconds
4.1.1. When program starts
This block is used to start the program followed by the command what to do when it starts
Example 4.1.1.
4.1.2. When program ends
This block is used to stop the execution of the program.
Example 4.1.2.
4.1.3. Whenever up is clicked
This block is executed whenever anything on the keyboard is clicked.
Example 4.1.3.
Before execution
After execution
4.2.1. Wait for 2 seconds
Blocks used to add timing to the program for a waiting period for 2 seconds. (Also can be changed to any value i.e 50 secs or 100 secs)
Example 4.2.1.
Before execution
After execution