I have a list index in my script. I understand that all variables/lists are cleared/unset at the end of a procedure, unless declared as a global variable. My question is, how do i then unset/clear a global list/var. The list needs to be global as it is used in several different procedures, but i wish to create a !reset command to clear several global variables and lists.
I guess i could use set myvar "", i just thought there should be a proper way to unset it.
As said in original post.. 'unset myvar' was not working, possibly because it is a list index not a standard variable?
Er, correction, i forgot to mention that in original post :\