Users Manual

CLASS 3
112
Tori secret safe variable coding
Tori Secret Safe Variable Coding
We need a lot of things to make a script for the Tori secret safe. The important thing is 'variable'. Do you remember?
In scratch, you can think of variables as storage.
You name the variable (storage space) and put the value into that variable. In the Tori secret safe model, we have
to use a total of four variables. If you have a lot of variables, you can improve your readability when coding by
giving a proper name for the purpose of the variable.
Create a variable as shown in the figure above. We will deal with the above variables while coding. The name of
each variable is made considering the role, so please make it the same as the above.
Click the Variables tab
to create a list.
Click the Create List button
to create a list.
It is a block that
adds values to the list.
It is a block that deletes the
value of a specific position in
the list.
It is a block that represents
the value (item) at a specific
position in the list.
It is a block that represents the
total number of items stored
in the list.
Activity