Re: request of function to get Nval in TFormula

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Aug 28 1998 - 17:31:19 MEST


Hi ye,

   use the idle timer via the TROOT::Idle() interface (and see there also
how the StartIdleing() and StopIdleing() should be used). Example:

gROOT.Idle(1,"printf(\"aap\\n\");")

to disable:

gROOT.Idle(0,"printf(\"aap\\n\");")

Cheers, Fons.


Ye Shuwei wrote:
> 
> 
>     In addition, I found that TApplication::StartIdleing() and StopIdleing()
> do not work under interactive ROOT, I have not checked for batch mode. So I
> have to use RemoveIdleTimer each time when I want to stop the IdleTimer, and
> use SetIdleTimer to restart IdleTimer. I checked the corresponding source
> code, it should work.
> 
>      Best regards  --Shuwei

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:37 MET