Loading multiple files

Hi
I am trying to write a short script to load multiple files…
but I can’t seem to find any documentation, currently I am just loading them from the prompt?

thanks

maki

not clear what you want to do. For a collection of files see
root.cern.ch/root/html/TFileCollection.html

Rene

Hi,

I think what maki is looking for is
gROOT->ProcessLine(".L anotherScript.c");
You can call that as often as you want to load more files from within another file. Or you can just #include them (yes you can include source files). That’s usually the better way, also because then all your code gets compiled when you do .L mainFile.C+.

Cheers, Axel.