RE: [ROOT] length limit of CINT's input line?

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Aug 06 2004 - 18:33:12 MEST


length limit of CINT's input line?Hi,

The line size was increase from 256 to BUFSIZ (4096 or 8192)

Cheers,
Philippe.
  -----Original Message-----
  From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Stilianos Kesisoglou
  Sent: Thursday, July 15, 2004 12:08 PM
  To: about-root@fnal.gov; roottalk@pcroot.cern.ch
  Subject: [ROOT] length limit of CINT's input line?


  Hi,

  Is there any limit on the lenght of a command line given to CINT?

  I've tried to make and fit some plots intereactively and instead of
writing a macro
  to do it, I just wrote a long line:

  TH1F *h1 = new TH1F(....); myTree->Draw(...)  etc

  When I tried to repeat it many times by copying and pasting:

  TH1F *h1 = new TH1F(....); myTree->Draw(...)
  TH1F *h2 = new TH1F(....); myTree->Draw(...)
  TH1F *h3 = new TH1F(....); myTree->Draw(...)
  TH1F *h4 = new TH1F(....); myTree->Draw(...)
  TH1F *h5 = new TH1F(....); myTree->Draw(...)
  ...

  the first 3-4 lines where executed ok and the ROOT stuck.

  When I execute them one by one there is no problem.

  Thanks!

  Stelios.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET