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

Jonathan M. Gilligan (jonathan.gilligan@vanderbilt.edu)
Thu, 01 Apr 1999 11:03:32 -0800


================ begin quoted root session ===============

E:\Root>cat h.C
void h() { printf("Hello, world\n");}

E:\Root>root h.C
the current keyboard layout is 437
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 2.21/08 18 March 1999 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************

CINT/ROOT C/C++ Interpreter version 5.13.92, Mar 13 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .q

E:\Root>root
the current keyboard layout is 437
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 2.21/08 18 March 1999 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************

CINT/ROOT C/C++ Interpreter version 5.13.92, Mar 13 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x h.C
Hello, world
NULL
root [1] .q

E:\Root>
================= end quoted root session ================

At 05:53 PM 3/31/99 , you wrote:
>
> Can you change your macro file as follows:
>
> h.C:
> h(){ printf("Hello\n");}
>
> root h.C
>
> and report your result to roottalk@root.cern.ch
> or via http://pcroot.cern.ch/root-bugs
>
> Valery
>
===========================================================================
Jonathan M. Gilligan <jonathan.gilligan@vanderbilt.edu>
Research Assistant Professor of Physics (615) 343-6252
Dept. of Physics and Astronomy, Box 1807-B Fax: 343-7263
6823 Stevenson Center
Vanderbilt University, Nashville, TN 37235 Dep't Office: 322-2828