Re: Returning from Run()

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Aug 03 1999 - 08:26:25 MEST


Hi Andy,
See an example in $ROOTSYS/test/hworld.cxx
TApplication::Run or TRint::Run have an argument. The default value for
the argument is kFALSE. In this case typing .q will terminate
the application. In your case specify the argument kTRUE.

Rene Brun

Andy Salnikov wrote:
> 
>   Hi ROOTers,
> 
>   I'm still struggling to implement "callable" ROOT for our software.
> The idea is simple - the application collects the data, then "calls"
> ROOT at some point to look interactively at these data, and then returns
> back to execute the rest of algorithm. Now the problem is that I do not
> know how to return back to my code from TApplication::Run(). Is it
> possible at all? I understand that there are many issues related to
> this, but probably someone has done something already in this respect?
> 
>   Cheers,
>   Andy.



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