From: Donal K. F. <don...@ma...> - 2012-03-21 15:39:29
|
On 21/03/2012 15:29, Arnulf Wiedemann wrote: > itcl::class myclass { > proc myproc {} { > set a something > puts "WHY ? [info exists a]" > puts "WHY ? [::info exists a]" > } > public method run {} { > myproc > } > } So..., [::info exists a] does the right thing but [info exists a] doesn't. What does [set info ::info; $info exists a] do? (It _should_ force the non-compiled version of [::info exists] into use; if that's buggy, there's a problem with Tcl.) Donal. |