Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2f1d2cacc0b53fe87c7c70f364d97359a074447b
Ticket: 503739ffffffffffffffffffffffffffffffffff
info exist in tcl8.4 fails
User & Date: dkf on 2002-01-15 16:07:43
Changes

  1. assignee changed to: "dkf"
  2. closedate changed to: "2002-01-15T09:07:43"
  3. closer changed to: "dkf"
  4. icomment:
    Logged In: YES 
    user_id=79902
    
    This is *correct* behaviour according to Tcl's basic
    evaluation rules (as detailed in the Tcl(n) manpage.)  The
    key problem with the code as written is that the unset
    command is surrounded by the wrong kind of brackets; the
    following works as intended:
    
      if [info exist abc(1)] {unset abc(1)}
    
    If the code in the report ever failed to error (without
    abc(1) previously being set to something) then that would
    constitute a bug.
    
    
  5. login: "dkf"
  6. mimetype: "text/plain"
  7. priority changed to: "1 Zero"
  8. resolution changed to: "Invalid"
  9. status changed to: "Closed"
  10. subsystem changed to: "45. Parsing and Eval"
  11. username: "dkf"