Hi Guiseppe,
do:
root -b "mymacro.C(10)"
Cheers, Fons,
On Fri, Jul 13, 2001 at 02:52:35PM +0200, Giuseppe Lo Re wrote:
> Hi Rooters,
> I have mymacro.C
>
> void mymacro(Int_t number=0) {
> ...
> }
>
> and I want to run this macro by command line giving a parameter value.
> Es: root -p mymacro.C(10) .
> How can I do that?
> Regards,
> Giuseppe Lo Re
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET