22
4.5.
Using a List to Play Melodies
The program you made in
4.4. Playing a Melody
can be simplified by using a list.
●Making a List
①
Click the
Make a list
button in the
Variables
Palette. Now name it
list_note
.
②
You’ll see two things: an empty list and a group of blocks that control it.
These blocks
control the list
This is the list
This dialog box lets
you name the list
③
Name it "list_note"
④
Click
①
Click
②
Click