Re: [ROOT] Named Script

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Nov 12 2003 - 18:50:54 MET


Hi Alessio,

do:  
  root "simulate.C(1)"

Rene Brun

Alessio Piccioli wrote:
> 
> How can i run directly a named script with parameter from root command ?
> 
> if  I try with
> 
> [piccioli@pcclue3]$ root simulate.C(1)
> 
> I obtain..
> 
> bash: syntax error near unexpected token `simulate.C(1'
> 
> My Root Version is
> 
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   3.05/02  11 February 2003   *
>   *                                         *
>   *  You are welcome to visit our Web site  *
>   *          http://root.cern.ch            *
>   *                                         *
>   *******************************************
> 
> FreeType Engine v2.1.3 used to render TrueType fonts.
> Compiled for linux with thread support.
> 
> CINT/ROOT C/C++ Interpreter version 5.15.74, Feb 2 2003
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> 
>     Thanks!
> 
>      Alessio



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET