Page 229 - Learn to Program - Basic-256
P. 229

Chapter 15: Arrays – Collections of Information.                                Page 213


                47                    end if
                48                    # draw new ball
                49                    color colors[b]
                50                    circle x[b],y[b],r
                51             next b
                52             # update the display
                53             refresh
                54             pause .05
                55      end while
            Program 91: Bounce Many Balls



















































                                                           © 2019 James M. Reneau (CC BY-NC-SA 3.0 US)
   224   225   226   227   228   229   230   231   232   233   234