Horrid abuse of scope
Posted to
tcl
by bairui at Fri Feb 01 00:31:12 GMT 2019
view raw
proc
as_dict {query} {
uplevel
1 db
eval
[
list
$query
res {
lappend
results [
dict
remove [
array
get res] *]
}]
return
[
uplevel
set results]
}
Recent Posts
tcl by schelte
9 days ago
tcl by emiliano
16 days ago
tcl by fvogel
16 days ago
tcl by emiliano
16 days ago
tcl by rmax
33 days ago
tcl by oldlaptop
33 days ago
tcl by schelte
33 days ago
tcl by Bradipo
46 days ago
tcl by kbk
56 days ago
tcl by oldlaptop
59 days ago
Submit
New paste
Documentation
From Jabber