Re: [ROOT] User command too long

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jan 30 2003 - 12:11:09 MET


Ed,

We extended the maximum number of characters in an input line from 256
to 2048 in version 3.03/09

Rene Brun

Edward Chen wrote:
> 
> Hi - in 3.03/02 I get the following message:
> 
> !!! User command too long !!!
> 
> when I have the following in my macro:
> 
>   gROOT->ProcessLine(".x doSingleVarCompX2.cc(\"plots/esigkmpctfdocorpidkgsr2lecutPlotsTemp.root\",
> \"plots/esigkmpctfdoccneorpidkgsr2lecutPlotsTemp.root\",\"W/o 80MeV cut\",\"With 80MeV
> cut\",\"PhotonEPlotPreE2R2Pi0\",\"esigkmp80MeV\",\"eSigKMPhotos SP4 - 199K\")");
> 
> (Without the carriage returns).
> 
> I can shorten certain things of course in this particular case to solve
> things, but in the future, I would perhaps like to call a macro with a
> lot of parameters, for example.
> 
> Is this line length adjustable?  Or is there a similar way to do things so
> I don't run into this problem?
> 
> Thanks.
> 
> -Ed



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET