home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- * * 09/92 RGB.PRG *
- *****************************************************************
- * * Author's Name: Jeb Long *
- * * *
- * * Description: *
- * * This program illustrates the possible color *
- * * combinations that can be established using the *
- * * COLOR RGB() clause *
- *****************************************************************
- clear
- r=0
- c=0
- for i = 1 to 255 step 10
- for j = 1 to 255 step 10
- for k = 1 to 255 step 10
- if col() > 90
- r=row()+1
- c=0
- endif
- if r=40
- r=0
- endif
- @ r,c SAY "X" color rgb(i,j,k, 255,255,255)
- c=c+1
- endfor
- endfor
- endfor
-