Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f1ff0004bc25202d2aea8c1e26b9812f3bee7cc0
Ticket: 2673163fffffffffffffffffffffffffffffffff
Unwanted integer affinity of [upvar]
User & Date: ferrieux on 2009-03-19 04:27:19
Changes

  1. icomment:
    "Folks should just code the level explicitly" is just contrary to 10+ years of unchanged documentation and usage, and also to the "Huffmann principle", meaning that the dominant use should be written concisely.
    
    The name value "1" in TOGF *is* used on the error path, to generate the message 'bad level "1"' when the requested implicit level 1 is nonexistent (like 'upvar x y' at toplevel).
    
    About the generalization to [uplevel], it is impossible since upvar has no constraints on the parity or #args, so positional/parity cues are not usable.
    
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"