[ROOT] TString operand

From: giuseppe.foggi@libero.it
Date: Mon Dec 02 2002 - 22:43:43 MET


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