Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fb2e69df872c53d66e130daa5d7b7659a43aed5c
Ticket: 1227172fffffffffffffffffffffffffffffffff
[append x] gives an error when x doesn't exist
User & Date: mdiep on 2005-06-24 18:12:16
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This:
     
      catch {unset x}
      puts [append x]
    
    gives an error:
    
      can't read "x": no such variable
          while executing
      "append x"
          invoked from within
      "puts [append x]"
    
    although the docs seem to say that it should just return the value of x. 
    What's worse is that lappend *does* just return the value of x, so the two 
    are inconsistent.
    
  4. foundin changed to: "obsolete: 8.4.10"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mdiep"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "[append x] gives an error when x doesn't exist"
  11. type changed to: "RFE"