The new material

(Display Listing 1.)

The only thing new to this program is the statement shown in the body of the for loop in Listing 1 and repeated in Figure 4.

Only the portion of the statement that is highlighted in boldface in Figure 4 is new to this lesson.

Figure 4. Array access statement in program named Alice0180a.
(penguins[index]).set(opacity,1(100%));duration=1 second