Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 54bf12d28bb8d1c2859729e3abe83e3aa9312c64
Ticket: 624919ffffffffffffffffffffffffffffffffff
Tcl_AppendToObj docs confusing
User & Date: nobody on 2002-10-17 22:07:20
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    TCL 8.4.0
    Windows XP
    
    info exists array(name) fails when name is long.
    
    Example (show both working and failing functions)
    
    % set studyuid $a(0020 000d)
    1.2.840.113619.2.43.16112.2141964.87.55.870876696.1
    % set seriesuid a(0020 000e)
    1.2.840.113619.2.43.16112.2141964.41.48.870879458.1
    5
    % set set study($studyuid) $seriesuid
    1.2.840.113619.2.43.16112.2141964.41.48.870879458.1
    5
    % puts $study($studyuid)
    1.2.840.113619.2.43.16112.2141964.41.48.870879458.1
    5
    % set study(test) 2
    2
    % puts [info exists study(test)]
    1
    % set b test
    test
    % puts [info exists study($b)]
    1
    % puts [info exists study($studyuid)]
    0
    
    This should be 1
    
  4. foundin changed to: "obsolete: 8.4.0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "17. Commands I-L"
  10. title changed to: "info exists fails on long array names"
  11. type changed to: "Bug"