My question:
i use a proc all the time over and over and over this proc uses global variables witch are unpossible to set within the proc like path and if i use cd the path is appended .. like set path c:\\
...........
cd test >> set path c:\\test\\
now my question if i where to make a multi user session like 2 users using the same proc at the same time .. for example in dcc sesions how would i be able to make the new user enter the home path and if the second user would brouse the files how would that work for the first user so my question
u set a variable
set test 1
within the proc u set the variable again .. by appending data or adding a value like expression
proc ...
global test
set test [expr $test + 1]
.. second users uses the path as well ..
now he is gone use global as well but the value of the number is not 1 any more cause the previous user has reset it .. to 2 so my question
how do i use global variables with in a multiuser envirement ..?
Not sur if i am making my self clear so .. plz do ask if there is something that isn't clear to u