Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c7df83405dcae30d7f1cddbc115ee91767dbce46
Ticket: 219372ffffffffffffffffffffffffffffffffff
Cannot set env array element via upvar #0
User & Date: dkf on 2000-11-13 20:41:14
Changes

  1. icomment:
    This is an unfortunate side effect of the way that variables in arrays are implemented (the contained variables do not know that they are contained within an array) and fixing it will require adding a field to struct Var to refer to the containing variable.  An alternative would be to change the documentation for upvar, but that would be merely enshrining a misfeature in the cloak of "standard documented behaviour".  :^(
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. subsystem changed to: "07. Variables"
  5. username: "dkf"