Overview
| Artifact ID: | 1d357c0081e34a6451e428251f6c18fc72e60e13 |
|---|---|
| Ticket: | 1280497fffffffffffffffffffffffffffffffff
set a variable in namespace set global variable |
| User & Date: | msofer on 2005-09-02 20:46:07 |
Changes
- closedate changed to: "2005-09-02T13:46:07"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Works as documented, see the [namespace] manual page (especially the section NAME RESOLUTION): http://www.tcl.tk/man/tcl8.4/TclCmd/namespace.htm#M22 FWIW, we all seem to agree that this rule for variable name resolution is crazy. Changing this is very delicate, for backwards compatibility reasons. Let's hope it happens for Tcl9.0 The way out is to "declare" namespace variables using the [variable] command. For some other related pitfalls, see bug #959052.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- username: "msofer"