Hi All,
can I change the Unix.*.Root.MacroPath in root session?
I mean next.
After strating root I execute next commands:
root[0] TString mpath(gEnv->GetValue("Unix.*.Root.MacroPath"," "));
root[1] mpath.Prepend("./macros:");
root[2] gEnv->SetValue("Unix.*.Root.MacroPath",mpath.Data()) ;
root[3] gEnv->GetValue("Unix.*.Root.MacroPath"," ")
(const char* 0x86e2e74)"./macros:."
It looks like I changed macro path correctly,
but when I try execute macro test.C from macros directory
I got next:
root [4] .x test.C
Error in <TRint::ProcessFile>: macro test.C not found in path p
Aleksei.
--
Aleksei I. Pavlinov , Department Physics and Astronomy
Wayne State University, 666 West Hancock, Detroit, MI 48202
tel. office: (313) 577-1203 ; fax : (313) 577-0711
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET