Overview
| Artifact ID: | ad3a794ca670f210417b9a75c0480a96722ed0df |
|---|---|
| Ticket: | 1714317fffffffffffffffffffffffffffffffff
dict get -default |
| User & Date: | dkf on 2007-05-07 13:54:14 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
[14:44]Colin[dict get? $x $y] is essentially [expr {[dict exists $x $y]?[dict get $x $y]:""}] [14:44]Colinit's quite useful and makes the code cleaner. [14:45]dkfI've thought about defaults, but the problem is that [dict get] has run out of syntax holes ... [14:48]dkftheoretically, there's a single hole left [14:48]dkf[dict get -default "foo" -- $dict $key ...] [14:51]Colindkf, please consider adding the facility, it is useful. - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "9 Immediate"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "15. Dict Object"
- title changed to: "dict get -default"
- type changed to: "RFE"