> I am probably wrong but when you clear  fnCount your just clearing the
> variable not the instance started form it . Thus requiring you to stop the
> periodical before you clear it .

To  it  another  way:  you  can  only  stop a timer if you have an var
assigned to the timer.

funcname.timertype(time)  is  an  anonymous  timer. You can't get back
control  of  it.  Maybe  okay  for  a quick setTimeout, not good for a
setInterval!

var timeoutid = funcname.timertype(time) is a named timer that you can
then control using `timeoutid`.

-- Sandy


P.S. Code snippets are so 2009 -- MooShell it up and it is much easier
to understand the symptoms. (Unless I it's like a one- or two-liner.)



Reply via email to