Hi guys,
is it possible to have a variable to be known in the whole script, but NOT in every script? I mean, can I have a variable between local and global?
For example: a part of test.tcl
---------------------------------------------------------------------------------
set x "bla"
proc test1 {...} {
puthelp "PRIVMSG #test-chan :$x"
}
proc test2 {...} {
puthelp "PRIVMSG #test-chan :$x"
}
---------------------------------------------------------------------------------
Is it possible to make the variable x known in both procedures (test1, test2) without making x global? I want to have x to be known in test.tcl but NOT in my other tcl scripts.