Overview
| Artifact ID: | 8768dd570fc4c181e82c3f3fe502303ae6ef82e5 |
|---|---|
| Ticket: | 218757ffffffffffffffffffffffffffffffffff
[lreplace] documentation incomplete |
| User & Date: | nobody on 2000-10-26 01:05:01 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2005 Bug Version: 8.1 SubmitDate: '1999-05-07' LastModified: '2000-01-18' Severity: LOW Status: Released Submitter: pat ChangedBy: hobbs RelatedBugIDs: 1705 OS: Other Machine: NA FixedDate: '2000-01-18' FixedInVersion: 8.3 ClosedDate: '2000-10-25' Name: Don Porter Comments: lreplace <list> <first> <last> ?<element> ...? When the <last> argument is < 0, but >= <first>, replacement is done at the start of the list. This case is not documented in lreplace(n). The incompatibility with Tcl 7.4 should probably also be noted. Any doc fix should also be made to the 8.0.x sequence of releases. ObservedBehavior: % set a {1 2 3} 1 2 3 % lreplace $a -2 -1 0 0 1 2 3 The docs don't specifically preclude this case, but I have cleared it up in the 8.3.0 docs. As for the incompatibility, I would have noted the original case as a bug. -- 01/18/2000 hobbs - foundin changed to: "obsolete: 8.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "46. Traces"
- title changed to: "[lreplace] documentation incomplete"
- type changed to: "Bug"