home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
ui_utils
/
tcl_447.lzh
/
TCL
/
TCL.LZH
/
tcl
/
tclprocs
/
decomp.tcl
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1990-05-04
|
332 b
|
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
}