Prev: Tcl-URL! - weekly Tcl news and links (Jun 7)
Next: TDBC: documentation for the postgres driver?
From: Harald Oehlmann on 8 Jun 2010 09:46 INMO it would be quite helpful, if "namespace which" would also work with array elements. Example: <Code> namespace eval n { variable a set a(1) 1 proc p {} { variable a puts "nw a=[namespace which -variable a]" puts "nw a(1)=[namespace which -variable a(1)]" } } n::p </Code> Currently prints: nw a=::n::a nw a(1)= I would find it helpful, if "namespace which -variable a(1)" would result in "::n::a(1)". What do you think ? Harald
|
Pages: 1 Prev: Tcl-URL! - weekly Tcl news and links (Jun 7) Next: TDBC: documentation for the postgres driver? |