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 FLORENTIS
1 days ago
tcl by Florentis
1 days ago
tcl by schelte
6 days ago
tcl by iobates
6 days ago
tcl by cgm
7 days ago
tcl by iobates
12 days ago
tcl by FM
16 days ago
tcl by FM
16 days ago
tcl by FM
16 days ago
tcl by FM
16 days ago
Submit
New paste
Documentation
From Jabber