Skip to content
Tcl Source Code History Of Ticket 960154ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 960154ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 960154ffffffffffffffffffffffffffffffffff

  1. Ticket change [497c104825] (rid 100059) by msofer on 2004-05-25 14:10:08:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The manual pages for global and upvar commands do not
      explain the behaviour when the variable names contain
      namespace qualifiers.
      
      This is not so bad for upvar, as the behaviour is quite
      intuitive. Not the same for global ...
      
      One possibility is to explain global's behaviour, and
      show that it could be defined as
        
         proc global args {
             if {[info level] < 2} {
                 return
             }
             set cmdName [namespace tail [lindex [info level
      -1] 0]]
             if {[info procs $cmdName] eq {}} {
                 return 
             }
             set cmd [list upvar 0]
             foreach var $args {
                 lappend cmd ::$var [namespace tail $var]
             }
             uplevel 1 $cmd
             return
          }
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to: "global.n, upvar.n: qualified varNames?"
    11. type initialized to: "Bug"
  2. Ticket change [02b2bb1fc6] (rid 119690) by msofer on 2004-05-25 21:29:01:

    1. closedate changed to: "2004-05-25T14:29:01"
    2. closer changed to: "msofer"
    3. resolution changed to: "Duplicate"
    4. status changed to: "Closed"