Hi,
before you replied me i've tried in another way, producing this file
produz_thre.macro:
{
gROOT->ProcessLine(".L produz_thre6.1.cpp+");
gROOT->ProcessLine("leggi()");
}
Is this correct anyway, and what are the differences between the command you've told me?
Thanks,
Marco
On 6/29/06, Axel Naumann <Axel.Naumann_at_cern.ch> wrote:
> Hi Marco,
>
> you can use e.g. gSystem->CompileMacro(), see
> http://root.cern.ch/root/html/TSystem#TSystem:CompileMacro
>
> Cheers, Axel.
>
> Marco Calviani wrote:
> > Hi list,
> > i would like to run in batch a compiled program, that is a code
> > that inside ROOT i have to compile with .L name_of_code.cpp+ and then
> > runs with some function, let's say function(). Is this possible? I
> > have seen examples but they were all using the interpreter.
> >
> > Thanks,
> > Marco
> >
>
Received on Thu Jun 29 2006 - 15:16:35 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET