Overview
| Artifact ID: | e79ccb3013b19e219c3aa72f4dd9c39d8789ddfe |
|---|---|
| Ticket: | 1615277fffffffffffffffffffffffffffffffff
string equal example wrong in doc |
| User & Date: | escargo on 2006-12-13 21:23:29 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.4.14"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "escargo"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "string length example wrong in doc"
- type changed to: "Bug"