Hi, We added a new optional parameter to the CINT related method in ROOT so that the CINT error, if any, can be looked at. For example, you can now do: int cint_error; gROOT->LoadMacro("myMacro.C",&error); if (error!=0) { cerr << "my error msg" << endl; } gROOT->ProcessLine("myfunction()",&error); if (error!=0) { cerr << "my error msg" << endl; } The error codes are defined by TInterpreter::EErrorCode. Cheers, Philippe.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:12 MET