home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / tcl / 2317 < prev    next >
Encoding:
Text File  |  1993-01-07  |  851 b   |  30 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!bnrgate!bcars267!bnr.ca!jamensky
  3. From: jamensky@bnr.ca (Mark Jamensky)
  4. Subject: Possible bug in lreplace
  5. Message-ID: <1993Jan7.205040.19153@bnr.ca>
  6. Sender: news@bnr.ca (usenet)
  7. Nntp-Posting-Host: bcarh27a
  8. Reply-To: jamensky@bnr.ca (Mark Jamensky)
  9. Organization: Bell-Northern Research Ltd.
  10. Date: Thu, 7 Jan 1993 20:50:40 GMT
  11. Lines: 17
  12.  
  13.   The problem is exhibited as follows in Tcl version 6.4:
  14.  
  15. set l1 { a b "c c" d e f}
  16.  
  17. lreplace $l1 2 2
  18. returns: a b d e f
  19.  
  20. lreplace $l1 3 3
  21. returns: a b "c c e f
  22.  
  23.   For some reason the second quote gets removed.  Has anyone else seen this and
  24. if so is there a patch?
  25.  
  26.   Thanks in advance.
  27.  
  28. --            | Bell-Northern Research - Ottawa | Conform or be cast out.
  29. Mark Jamensky | jamensky@bnr.ca  (613) 765-4942 | - Rush
  30.