home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / tcl / 2170 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.3 KB  |  43 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!eco.twg.com!twg.com!news
  3. From: "David Herron" <david@twg.com>
  4. Subject: Further tk3.0 problems
  5. Message-ID: <1992Dec19.015832.11152@twg.com>
  6. Sensitivity: Personal
  7. Encoding:  23 TEXT , 4 TEXT 
  8. Sender: news@twg.com (USENET News System)
  9. Conversion: Prohibited
  10. Organization: The Wollongong Group, Inc., Palo Alto, CA
  11. Conversion-With-Loss: Prohibited
  12. Date: Sat, 19 Dec 1992 02:03:29 GMT
  13. Lines: 28
  14.  
  15. These are not specific to Sun 386i:
  16.  
  17. - tk3.0/Makefile wants to install wish as /usr/local/wish.  The superior
  18.   place to install `local' things is /usr/local/bin!
  19.  
  20. - After cp'ing the .a files it doesn't ranlib them.
  21.  
  22. The biggie though is this sequence (which isn't discovered by the tests):
  23.  
  24. boomer# tclTest
  25. % set blue 0
  26. 0
  27. % set min 0.0
  28. 0.0
  29. % if {$blue < $min} { set min $blue.0 }
  30. Error: floating-point value "0.0" too small to represent
  31.  
  32. I discovered this while trying to get tcolor to run.  This sequence is
  33. in rgbToHsv{} when red=65535 green=0 blue=0.  The error comes from
  34. tclExpr.c right after a strtod() which made errno == ERANGE.  The
  35. string passed to strtod() *is* "0.0", BTW.
  36.  
  37.  
  38. <- David Herron <david@twg.com> (work) <david@davids.mmdf.com> (home)
  39. <-
  40. <- During the '80s Usenet's mantra was: "Not all the world's a VAX".
  41. <- During the '90s I hope it becomes:   "Not all the world's DOS (ick)".
  42.