This looks like a valuable RFE to me, I'd even extend it to [global], [upvar], [namespace upvar]. But it does require a simple TIP, as the docs (and tests) need changing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=148712
Originator: NO
messagw truncated: which idioms?
Logged In: YES
user_id=19214
Originator: YES
proc foo {args} {
variable {*}$args
}
is the idiom I was thinking of.
Logged In: YES
user_id=80530
Originator: NO
Since [variable] takes alternating
arguments to represent varname and values,
I think the idiom is:
proc foo {dict} {
variable {*}$dict
}
Logged In: YES
user_id=148712
Originator: NO
This looks like a valuable RFE to me, I'd even extend it to [global], [upvar], [namespace upvar]. But it does require a simple TIP, as the docs (and tests) need changing.
Isn't this already done in the TIP #323 implementation?
this is done.