Overview
| Artifact ID: | e79dc2d2794da45d5e981a4f44988dfb217b0766 |
|---|---|
| Ticket: | 3041099fffffffffffffffffffffffffffffffff
dict variable check missing? |
| User & Date: | ferrieux on 2010-08-07 16:35:01 |
Changes
- closedate changed to: "2010-08-07T09:35:01"
- closer changed to: "ferrieux"
- icomment:
In Tcl, everything is a string, and just about every string is a valid variable name. So, whatever $mydict1 is at the time, it is nevertheless a potential varname, that can legally hold the dict value you're creating with [dict set]. The fact that it contains spaces, which is likely if it's also a dict value, doesn't allow the Tcl runtime to dismiss it: dict set "foo bar" a b set "foo bar" -> a b dict get [set "foo bar"] a -> b
- login: "ferrieux"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "ferrieux"