#! /usr/bin/env tclsh proc MySelf {} { puts {#! /usr/bin/env tclsh} puts {} puts -nonewline "proc MySelf {} {" puts -nonewline [info body MySelf] puts "}" puts "" puts "MySelf" } MySelf
<br>here's some code [foo bar]<br>
testing [stuff]
test [blah] [foo bar]
proc blah {arg1 arg2} {echo "hello, world"echo [format %04s xyz]}
proc blah {arg1 arg2} {
echo "hello, world"
echo [format %04s xyz]
}
proc blah {arg1 arg2} { echo "hello, world" echo [format %04s xyz] }