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

From: Valery Fine (Faine) (fine@bnl.gov)
Date: Wed Mar 31 1999 - 20:30:40 MEST


>   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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET