03-20-2007, 08:05 PM
ok this is the problem i am facing
i am trying 2 pass a variable 2 another function from a function.this function may be running 4 times or more. what i do is check the threads and see how many instances of the function are running,then assign a local variable for each 1.then i assign a global variable to the local variable so i ca pass it.That all works well.The problem is when i stop one of the function and start it again on another window it takes over a global variable already i use,which in turns causes a problem.
i am trying 2 pass a variable 2 another function from a function.this function may be running 4 times or more. what i do is check the threads and see how many instances of the function are running,then assign a local variable for each 1.then i assign a global variable to the local variable so i ca pass it.That all works well.The problem is when i stop one of the function and start it again on another window it takes over a global variable already i use,which in turns causes a problem.