Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3c98caec9853c1979bc23181cd89931830040d00
Ticket: 3040531fffffffffffffffffffffffffffffffff
"info procs" in namespace ::tcl::dict results in error
User & Date: dkf on 2010-08-07 06:15:34
Changes

  1. closedate changed to: "2010-08-06T23:15:34"
  2. closer changed to: "dkf"
  3. icomment:
    
    
    allow_comments - 1
    
    There is an 'info' command in the ::tcl::dict namespace (that's the implementation of the [dict info] subcommand) which means that your code is simply not doing what you expect (the error message indicates that 'procs' is not a valid dictionary; this is not surprising). If you use the code below instead, it will do what you want:
    
        namespace eval ::tcl::dict {::info procs}
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"
  8. username: "dkf"