dump variables in the current scope
Posted to
tcl
by kbk at Mon Jun 08 03:05:19 GMT 2009
view raw
foreach
var [
info
vars] {
if
{[
array
exists
$var
]} {
foreach
{key value} [
array
get
$var
] {
puts
[
list
set
${var}
(
$key
)
$value
]
}
}
else
{
puts
[
list
set
$var
[
set
$var
]]
}
}
Recent Posts
tcl by iobates
3 days ago
tcl by iobates
4 days ago
tcl by juliannoble2
14 days ago
tcl by juliannoble2
16 days ago
tcl by oldlaptop
23 days ago
tcl by oldlaptop
24 days ago
tcl by oldlaptop
24 days ago
tcl by oldlaptop
24 days ago
tcl by apn
39 days ago
tcl by arjen
53 days ago
Submit
New paste
Documentation
From Jabber