home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
tcl_447.lzh
/
TCL
/
tcl.lzh
/
tcl
/
tclprocs
/
decomp.tcl
next >
Wrap
Text File
|
1990-05-03
|
332b
|
19 lines
proc dump func {
format "proc %s \{%s\} \{%s\}\n" $func [eval info args $func] [eval info body $func]
}
proc dumpall {} {
set result ""
foreach i [eval info procs] {set result [concat $result \n [eval dump $i]]}
return $result
}
proc edit func {
print [dump $func] T:$func
run vi T:$func
source T:$func
run rm T:$func
}