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

Chapter 11: Mouse Control – Moving Things Around.                               Page 158


             95             color rgb(r,g,b)
             96             rect 151,226,150,75
             97             refresh
             98             # draw the RGB values
             99                    color black
             100            font "Tahoma", 13, 100
             101            text 5, 235, "(" + r + "," + g + "," + b + ")"
             102    end subroutine
        Program 72: Big Program - Color Chooser


































        Sample Output 72: Big Program - Color Chooser

















                                                       © 2019 James M. Reneau (CC BY-NC-SA 3.0 US)
   169   170   171   172   173   174   175   176   177   178   179