Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
# Test for #24863: protect variable
box b 10 10 10
set is_ok [whatis b]
protect b
if {![catch {set b aaaaa}]} {
puts "Error : variable was changed"
}
if {$b != "b"} {
puts "Error : tcl variable doesn't point to same-named draw variable"
}
set check_ok [whatis b]
if {$is_ok != $check_ok} {
puts "Error : results of command \"whatis\" are different"
}3d097a032This file is pinned to the selected release. Download the original to open it in your design tool.