Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: eaf24d21564b25d64d40d4196cfce5f124aeb8be
Ticket: 1242314fffffffffffffffffffffffffffffffff
confusing unset/upvar documentation
User & Date: msofer on 2005-07-21 22:13:55
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    The language may be somewhat confusing ... but what you see
    is precisely what is documented.
    
    When you do 'upvar a b', the docs call b 'the upvar
    variable' (ie, the variable created by the upvar command);
    it is linked to the variable a.
    
    Hence, the docs say that 'unset b' actually unsets a, just
    as you observed.
    
    I'll leave this open and consider it a documentation bug:
    maybe we can come up with a description less likely to
    confuse, or add an example.
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. title changed to: "confusing unset/upvar documentation "
  5. username: "msofer"