Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0ecd859209c7c1fec8f0092380588cc727d3160c
Ticket: 1037235fffffffffffffffffffffffffffffffff
Inconsistency in 'dict set'
User & Date: dkf on 2004-09-30 17:31:49
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Workaround:
    Put
       dict set foo bc {}
    before you set the components of bc
    Problem: only safe when know element does not exist or is empty
    
    Workaround #2:
    Put
       dict append foo bc
    sometime before you set the components of bc; this will
    create the dictionary entry if it does not already exist,
    and will otherwise have no effect. (i.e. it is safe and
    won't lose data. As it happens, it also won't do loads of
    shimmering either, which is even better!)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"