home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / lisp / mcl / 1354 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  727 b 

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!lieber@MEDIA-LAB.MEDIA.MIT.EDU
  2. From: lieber@MEDIA-LAB.MEDIA.MIT.EDU (Henry Lieberman)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Am I black-and-white yet?
  5. Message-ID: <9209031629.AA21411@media-lab.mit.edu>
  6. Date: 3 Sep 92 16:29:34 GMT
  7. Sender: info-mcl-request@cambridge.apple.com
  8. Lines: 8
  9. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  10. Original-To: info-mcl@MEDIA-LAB.MEDIA.MIT.EDU
  11.  
  12.  
  13. On the issue of a reliable test for a black-and-white versus color screen,
  14. I hit upon 
  15.  
  16. (real-color-equal (make-color 0 0 0)
  17.                   (make-color 32000 32000 32000))
  18.  
  19. which asks "Is gray the same as black?". This seems to work. 
  20.