Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3c26566039afab2e434478b6f635f7b7c68abee5
Ticket: 2486824fffffffffffffffffffffffffffffffff
"upvar" in [global]'s err msg.
User & Date: dgp on 2009-04-09 22:33:41
Changes

  1. icomment:
    
    Note also this apparent inconsistency:
    
    % proc demo {} {global a(k)}
    % demo
    bad variable name "a(k)": upvar won't create a scalar variable that looks like an array element
    % global a(k)
    %
    
    I would think that varNames that look like
    array elements ought to be always forbidden
    as arguments to [global].
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"