Hi, You can always use: gROOT->ProcessLine(".L filename.C"); Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Thomas Eberl Sent: Monday, February 05, 2001 10:04 AM To: roottalk@pcroot.cern.ch Subject: [ROOT] CINT commands in a file Dear rooters, I have a number of Macros with functions ("named scripts"). I need to load all these files at the beginning of each ROOT session in order to be able to use these functions. Usually this is done via a ".L filename" at the CINT prompt. As I need to load many of these files, I would like to tell CINT in a script to load all my files with functions. Unfortunately, I have not found a way to put CINT commands starting usually with a dot (e.g. ".x") in a script. Is there a way ?? Thank you Thomas Eberl
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET