Re: [ROOT] Scripts called by other script

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Feb 25 2002 - 12:36:23 MET


Hi Raquel,

>From a macro, use the form:
   gROOT->ProcessLine(".x script.C");
instead of .L script.C

gROOT->ProcessLine can be used to execute any CINT instruction from
interpreter or/and compiled code.

Rene Brun

Raquel de los Reyes wrote:
> 
>    Part 1.1       Type: Plain Text (text/plain)
>               Encoding: 8bit
Hi all:

I'm trying that one script call to other using .x script2.C y the
script1.C, but it doesn work, so is it possible that one script call
another one?.  If it is not possible, do you know how to call and
execute a task from a script?

Thank you very much.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:42 MET