© The LEGO Group

It takes 3 seconds to execute the first block. Only then the program executes the Beep block. Here the observable behavior of motors turning and block execution time are of the same length—3 seconds. A simple way to put it: it takes “no time” to tell the motors to turn on, but the program has to stay there for 3 seconds in order to tell motors to turn off, only then it is free to focus its attention on the Beep block.

 

© The LEGO Group

It takes “no time” to execute the On AC block because the program tells motors to turn on and has no further instructions in the block. Therefore, it is immediately free to move on to the next block, Beep.

 

Note: You can find additional examples illustrating this point in Transparency #1.

 

Close Window