Posted to tcl by Napier at Fri Oct 17 19:19:48 GMT 2014view pretty

proc 1 {tempDict} {
     set varName [dict get $tempDict test]
     puts "The var is $varName"
     puts "This is another call to $varName"
     puts "And another call to $varName"
}

proc 2 {tempDict} {
     puts "The var is [dict get $tempDict test]"
     puts "This is another call to [dict get $tempDict test]"
     puts "And another call to [dict get $tempDict test]"
}