Artifacts Associated With Ticket 1615277
Ticket change [e79ccb3013] (rid 104492) by escargo on 2006-12-13 21:23:29:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The following code appears in the documentation for string, as an example of using string equal: Test if the string in the variable string is a proper non-empty prefix of the string foobar. set length [string length $string] if {$length == 0} { set isPrefix 0 } else { set isPrefix [string equal -length $string $string "foobar"] } It has an unnoticed bug: the variable after the -length should be $length, not $string. - foundin initialized to: "obsolete: 8.4.14"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "escargo"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to: "string length example wrong in doc"
- type initialized to: "Bug"
Ticket change [9f28d3ebae] (rid 96589) by escargo on 2006-12-14 04:24:19:
- title changed to: "string equal example wrong in doc"
Ticket change [eeef11d789] (rid 108906) by dkf on 2006-12-14 21:25:21:
- closedate changed to: "2006-12-14T14:25:21"
- closer changed to: "dkf"
- resolution changed to: "Fixed"
- status changed to: "Closed"