| Subject: | Re: merging variables and arrays ... |
|---|---|
| From: | Andreas Leitgeb |
| Date: | 30 May 2008 12:35:07 GMT |
| Newsgroups: | comp.lang.tcl |
Alexandre Ferrieux <alexandre.ferrieux@xxxxxxxxx> wrote: [on defaults for dicts] > What about: > [dict getdef $d $key1 ... $keyN $def] Imho one point of this thread is storing the default with the data (be it an array or dict), and not having to pass it separately to the getter (be it a command or $-syntax). |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: dtp.kit, Keith Nash |
|---|---|
| Next by Date: | Re: tdom - not understanding "nextSibling", chedderslam |
| Previous by Thread: | Re: merging variables and arrays ..., Alexandre Ferrieux |
| Next by Thread: | Re: merging variables and arrays ..., Alexandre Ferrieux |
| Indexes: | [Date] [Thread] [Top] [All Lists] |