Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6f0b157e06b5bf05fbbeb920fc7bcc953371f7d1
Ticket: 461635ffffffffffffffffffffffffffffffffff
new [info] subcommand: formalargs
User & Date: glennjnn on 2001-09-14 19:17:08
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    [info args procname] does not return any default values.  
    
    One must resort to iterating over the results from [info args], calling [info default] for each one, and build up a list.  
    
    It would be more convenient to have an [info] subcommand in the core that accomplishes that feat.
    
    I propose [info fullargs procname]:
    
    proc t1 [list one [list two ""] args] {}
    info fullargs t1 ;# ==> one {two {}} args
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "glennjnn"
  9. subsystem changed to: "17. Commands I-L"
  10. title changed to: "new [info] subcommand: fullargs"
  11. type changed to: "Patch"