11-29-2006, 03:29 AM
i gaurntee that'll work.
just have your function set the global variable to "i'm running" and then just before it ends have it set it to "I've stopped". Then you can just check the global variable at any time. if gv="I'm running" then "whatever" else "whatever else".
just have your function set the global variable to "i'm running" and then just before it ends have it set it to "I've stopped". Then you can just check the global variable at any time. if gv="I'm running" then "whatever" else "whatever else".
