Re: [ROOT] rootlogon, rootrc et al

From: Nick van Eijndhoven (Nick@phys.uu.nl)
Date: Thu Mar 01 2001 - 23:10:13 MET


Hi Greg,
You can also put the source code of your named macros in rootalias.C
in that case they will be loaded automatically at startup.

                                                 Cheers,
                                                  Nick.

-- 
Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl http://www.phys.uu.nl/~nick
--------------------------------------------------------------------------
Org.:    Utrecht University/Nikhef, Department of Subatomic Physics
Address: P.O. Box 80.000, NL-3508 TA Utrecht, The Netherlands
Phone:   +31-30-2532331(direct) +31-30-2531492(secr.)  Fax: +31-30-2518689
NIKHEF:  +31-20-5922028(direct) +31-20-5922000(secr.)  Fax: +31-20-5925155
CERN:    +41-22-7679751(direct) +41-22-7675857(secr.)  Fax: +41-22-7679480
Offices: Buys Ballot lab. 710 (Utrecht)   H350 (Nikhef)   B23 1-020 (CERN)
--------------------------------------------------------------------------


Gregory Novak wrote:
> 
> I have a bunch of files that I usually load with .L <filename>, but I want
> to load them automatically.  Unfortunately, I can't get either .rootrc or
> rootlogon.C to do the trick.  I get messages like "Syntax error -
> .Lmacros.cc"  (That is, the space between .L and the filename has been
> deleted).
> 
> So, where am I supposed to put commands like this?
> 
> Thanks,
> Greg



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET