Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 70148292a940e171e3606ee643ee05133dae0e9f
Ticket: 600812ffffffffffffffffffffffffffffffffff
upvar can create unusable variable
User & Date: msofer on 2003-10-21 05:09:18
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Duplicated as 826708 by rmax; initial comment there:
    
    " As discussed with dkf on the Tcl'ers chat...
    It works as documented, and treats b(c) as a literal
    variable name (not as an array). But because this
    variable can never be accessed with [set] or
    $-substitution, [upvar] should rather fail on such
    variable names, or (IMHO better) it should create an
    array element, if that's possible at all."
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"