proc rep {name} {
upvar $name n
puts "nm is $n"
}
In the above procedure, 'name
' is a parameter which is passed to a procedure named 'rep
'. When I run this program I got "error : Can't read "n" : no such variable
". Could any one tell me what could be the possible cause for this error.