Hello Heather,
Indeed, command line is lmited to 251 characters. Is it a problem
if you type it in multiple lines? I think it is more convenient.
root[0] { char *line[] = {
end with '}', '@':abort > "..............."
end with '}', '@':abort > "..............." }: }
root[1]
Thank you
Masa Goto
----- Original Message -----
From: "Rene Brun" <Rene.Brun@cern.ch>
To: "Heather Kelly" <heather@lheapop.gsfc.nasa.gov>
Cc: <roottalk@pcroot.cern.ch>; <cint@pcroot.cern.ch>
Sent: Friday, February 14, 2003 6:12 AM
Subject: [CINT] Re: [ROOT] User command too long
> Hi Heather,
>
> I do not know if you typed exactly what you submitted in your mail.
> You had " characters missing at the beginning of 2 lines.
> I do not see any problem with this with 3.04 or 3.05/02
>
> root [0] {
> end with '}', '@':abort > char *list[5] =
> end with '}', '@':abort >
> {"muon_pencil_300MeV_centerTile0022_acdtop-run1-mc.root",
> end with '}', '@':abort >
> "muon_pencil_300MeV_centerTile0022_acdtop-run2-mc.root",
> end with '}', '@':abort >
> "muon_pencil_300MeV_centerTile0022_acdtop-run3-mc.root",
> end with '}', '@':abort >
> "muon_pencil_300MeV_centerTile0022_acdtop-run4-mc.root",
> end with '}', '@':abort >
> "muon_pencil_300MeV_centerTile0022_acdtop-run5-mc.root"};
> end with '}', '@':abort > }
> root [1] list[0]
> (char* 0x84cfde8)"muon_pencil_300MeV_centerTile0022_acdtop-run1-mc.root"
>
> Rene Brun
>
> On
> Thu,
> 13 Feb 2003, Heather Kelly wrote:
>
> > Hi,
> >
> > I'm using ROOT 3.04.02 on Redhat Linux 7.2.
> >
> > Back on Jan. 30, 2003 - there was a posting from Rene stating:
> >
> > >We extended the maximum number of characters in an input line from 256
> > >to 2048 in version 3.03/09
> > >
> >
> > I just tried the following at the command line:
> >
> > root [0] char *list[] =
> > {"muon_pencil_300MeV_centerTile0022_acdtop-run1-mc.root",
> > "muon_pencil_300MeV_centerTile0022_acdtop-run2-mc.root",
> > muon_pencil_300MeV_centerTile0022_acdtop-run3-mc.root",
> > "muon_pencil_300MeV_centerTile0022_acdtop-run4-mc.root",
> > muon_pencil_300MeV_centerTile0022_acdtop-run5-mc.root"};
> > !!! User command too long !!!
> >
> > Has the maximum number of characters really been increased as of
3.03/09?
> >
> > Thanks,
> > Heather
> >
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET