Re: ".x" and ".X" commands do the same?

From: Axel Naumann <>
Date: Wed, 06 Sep 2006 17:24:43 +0200

Hi Vassili,

thanks for pointing this out. Whatever the original intention was - people are so used to running file() when loading file.C via ".x" that we cannot change it to conform to the doc. Instead I'll update the doc. I'll disable the complaint for ".x" if an unnamed macro is found.

Cheers, Axel.

Vassili Maroussov wrote:
> Dear ROOTers,
> according to the ROOT ".help" command ".x file.C" should simply evaluate
> statements from the file.C (like they are typed in the ROOT command
> line), and ".X file.C" should load file.C and execute the function
> "file()". However both ".X" and ".x" are looking for the function
> "file()" in the file.C and complain if the the function isn't found.
> What's wrong? I'm using ROOT5.11 on SLC3.06.
> Regards,
> Vassili.
Received on Wed Sep 06 2006 - 17:24:51 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET