Skip to content
Tcl Source Code History Of Ticket 503739ffffffffff
Login

History Of Ticket 503739ffffffffff

Artifacts Associated With Ticket 503739ffffffffff

  1. Ticket change [b34dfbd5f1] (rid 98510) by nobody on 2002-01-15 07:16:41:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      set abc(0) 1
      if [info exist abc(1)] [unset abc(1)]
      
      This code fails in tcl8.4.
      
    4. foundin initialized to: "obsolete: 8.4a3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "None"
    10. title initialized to: "info exist in tcl8.4 fails"
    11. type initialized to: "Bug"
  2. Ticket change [2f1d2cacc0] (rid 92999) by dkf on 2002-01-15 16:07:43:

    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"