RE: Command-line arguments with Root 2.21/08 under NT

lijowski@cosray2.wustl.edu
31 Mar 1999 18:47:57 -0000


I have tried

> root h.C and

> root

root [1].x h.C

with root 2.21/08 on SunOS 5.5 and root version compiled under
SunOS 5.4 and it works fine.

Michal Lijowski

> From: "Valery Fine (Faine)" <fine@bnl.gov>
> To: "Jonathan M. Gilligan" <jonathan.gilligan@vanderbilt.edu>,
> "Root Talk" <roottalk@hpsalo.cern.ch>
> Subject: RE: Command-line arguments with Root 2.21/08 under NT
> Date: Wed, 31 Mar 1999 13:30:40 -0500
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
> Importance: Normal
>
>
> > Hello, Jonathan
> >
> > > I just downloaded and installed Root 2.21/08 on my WIndows NT box. Root now
> > > does not seem to process files specified on the command line. If I have a
> > > file called Hello.C that consists of a single line "{ printf("Hello,
> > > world!\n"); }" and I run root from the command line "root hello.C" nothing
> > > happens. If I type ".x hello.C" from inside root, it prints "Hello, world!"
> > > as expected.
> > >
> > > Do others experience this problem or is it unique to my computer?
> >
> > I was enable to reproduce your problem:
>
> Excuse me I missed your point and gave wrong reply.
> Yes I found the command does supply a wrong ERROR message
> (by some reason you didn't point this out).
> So I found
> for macro
>
> h.C:
> { printf(" Hello, Wordl!!!\n");}
>
> root 2.21/08 gives:
>
> root [2] .x h.C
> Error: No symbol h() in current scope FILE: LINE:0
> *** Interpreter error recovered ***
> NULL
>
> I believe there is no Windows specific here and this bug should be present
> for any UNIX machine as well.
> Since I have no 2.21.08 on my UNIX I would loike people on list try this
> to confirm.
> With my best regards,
> Valery
>
>