Originally posted by David Coffey
In working with TCL procs I find that if I declare a variable as global in one proc a similarly named variable in another proc(same thread) is updated. In other words using a global variable with the same name in multiple procs in a thread, which ever proc updated the variable last, this is reflected in all other procs.
How can I set a variable to be global only in the scope of the proc without resorting to unique names in each and every proc in my library?
Hope this makes sense!
David Coffety