Hi Dan, OK, I see the problem now when using "NewExpression". I was simply setting one of the existing empty expressions. The problem is now fixed in CVS. Thanks for reporting. Rene Brun Dan Krop wrote: > > Hi, > I will give concrete instructions on how I see this problem. > > 1. Load a file at the prompt and start a viewer on the tree > root [0] TFile f("treefile.root") > root [1] tree.StartViewer() > for a file containing a tree named tree. > > 2. Right click on the right pane of the viewer and select "NewExpression". > 3. Double-click the new expression and enter an expression and an alias. > 4. From the File menu click "Save source". > 5. Restart ROOT and execute the treeviewer.C file that was just created. > > When I do this, the viewer that comes up does not have the new > expression I created before saving the source. Do you see the same > behavior? > > Dan > > Rene Brun wrote: > > >Hi Dan, > > > >Sorry for this late reply. > > > >I cannot reproduce this problem. Could you give a more concrete example? > > > >Rene Brun > > > >Dan Krop wrote: > > > > > >>Hi, > >> I am using ROOT v3.05/05 on Mandrake 9.1, which is compatible with > >>RH 9 . I find that when I have a TreeViewer object and I add a new > >>expression through the right-click context menu, the new expression is > >>not saved when I save the tree source, either through right-clicking or > >>through the top menu. You can try to reproduce this by starting a tree > >>viewer on a tree, adding a new expression, saving the source, and > >>executing the resulting macro. I would be curious to see if the problem > >>is reproducible. > >> > >> Thanks, > >> Dan > >> > >> > > > > > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET