RE: [ROOT] Problems with #include "path/file.h" in CINT script.

From: Brett Viren (bv@bnl.gov)
Date: Wed Jul 18 2001 - 18:43:47 MEST


Philippe Canal writes:
 >  root [0] #include <strstream>
 >  root [1] ostrstream s;
 >  root [2] s << ".include " << gSystem->Getenv("MYPATH") << ends;
 >  root [3] gROOT->ProcessLine(s.str());

Yes, this works, thanks!

-Brett.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:52 MET