Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 21d5aa2ec862b08f811f0a4f0b2496ab9d3cf7aa
Ticket: 3169002fffffffffffffffffffffffffffffffff
conversion from "dict" to "list" loses object types
User & Date: andreas_kupries on 2011-02-01 05:16:32
Changes

  1. icomment:
    I am not sure that it is the 'set l ...' which looses the type information of the elements. You are working interactively, and it may be the code printing the value to the terminal which does it.
    
    What is the output for
    
    % set l [array get a] ; foreach key $l { puts "[otype $key]" }
    
    This avoids the printing of 'l'.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"