Hi David, [Questions like this to the list - please!] David Sandberg <sandberg@hilux06.nbi.dk> wrote concerning Load things in shell script. [Tue, 24 Sep 2002 15:36:57 +0200 (CEST)] ---------------------------------------------------------------------- > Tjena. > > When in bratroot writing .L makeSpectra.C > I want the corresponding line for a shell script What do you mean, `shell script'? You don't meant a script intepreted by your command shell (TCSH, BASH, CSH, KSH, ASH, SH, etc.) do you? > I have tried #include "makeSpectra .C" and also ^ | Well, the line above contains an error. You have a space in the name. > gROOT->LoadMacro("makeSpectra.C"); I just don't know which is right. This is good. Are you sure the file `makeSpectra.C' is somewhere ROOT looks for scripts? Yours, ____ | Christian Holm Christensen |_| | ------------------------------------------------------------- | | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 _| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91 _| Denmark Office: (+45) 353 25 305 ____| Email: cholm@nbi.dk Web: www.nbi.dk/~cholm | |
This archive was generated by hypermail 2b30 : Tue Sep 24 2002 - 13:28:19 EDT