How can we interrupt the loop? How can the program know which loop to interrupt?
To access the full video please subscribe to FLLCasts.com
- 15 Feb 2019
Most programs are executed in an infinite loop. In this lesson we will focus on a new block which interrupts the loop without programming it how much it should repeat in advance. We are going to use the Loop Interrupt Block for that purpose. This is the last block in the orange palette.
The only thing we have to set is the name of the loop we want to interrupt. This is done by clicking on the upper right corner where we usually set the ports. Then, from the drop-down list, we choose the name corresponding to the loop we want to interrupt.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons