Dragging entire blocks of code (cont'd)

Display Listing 6.

This caused all of the code to be enclosed in the body of a doInOrder block in the new program.

I could have dragged the statements out of that block and deleted the empty block. 

However, it wasn't doing any harm so I decided to leave it there just in case I want to copy that code into a method in another version of the program later.

(As you work with Alice, you will learn a variety of tricks and techniques that can make your job easier.)