Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a4ee8bfe7aa7a8c12bc68cdca848fc8ce7dd52a1
Ticket: 1242314fffffffffffffffffffffffffffffffff
confusing unset/upvar documentation
User & Date: msofer on 2006-03-11 21:12:36
Changes

  1. closedate changed to: "2006-03-11T14:12:36"
  2. closer changed to: "msofer"
  3. icomment:
    Logged In: YES 
    user_id=148712
    
    Revisiting after such a long time ...
    
    I do not agree with your reformulations: the unset operation
    does not affect the upvar variable, and it does not destroy
    the link. It just unsets the variable to which the link was
    created. Witness
    
    % set x 1
    1
    % upvar 0 x y
    % set y
    1
    % unset y
    % set x
    can't read "x": no such variable
    % set y 2
    2
    % set x
    2
    
    
    
  4. login: "msofer"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Pending"
  8. username: "msofer"