Re: [ROOT] TString operand

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Dec 02 2002 - 23:14:49 MET


I cannot reproduce this problem with the PRO version 3.03/09

Rene Brun

On Mon, 2 Dec 2002, [iso-8859-1] giuseppe.foggi@libero.it wrote:

> Hi,
>  if I try
>  
>  root [] TString s("pippo")
>  root [] TString s("giuseppe")
>  root [] s+=" foggi"
>  (class TString)142847368
>  root [] s.Data()
>  (const char* 0x89f183c)"giuseppe foggi"
>  
>  
>  I have no problem, but if I insert these commands on my compiled script
>  I get
>  
>  invalid operands of types `TString *' and `const
>  char[7]' to binary `operator+'
>  
>  Why?
>  
>  The version of my ROOT is 3.02/07
>  Cheers.
>  Giuseppe.
>  
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:22 MET