Users Manual
CLASS 3
138
Tori Secret Safe Problem 4 commentary
Let’s try to get rid of the part where we set the password in 'Key' list in the beginning because it is a way to input
the password directly. The rest of the 'Broadcast' block is the same. We are only removing the part that sets the
password.
When you start the program, broadcast 'StartUp' and 'Open_Door'. And there is one thing that changed: when
you entered the number with the button sensor, and every time you enter the number, it accumulates the 'Pointer'
variable. The reason to increase the 'Pointer' variable every time you press the sensor is to store the 'Pointer' value
in the number of digits.
Commentary