Re: change current directory to memory?

From: Otto Schaile (Otto.Schaile@Physik.uni-muenchen.de)
Date: Fri May 14 1999 - 09:24:35 MEST


On Thu, 13 May 1999, Kurt Rinnert wrote:

> Ulrich Jost wrote:
> > 
> > Hi,
> > 
> > how can I change the current directory back to 'memory', eg after opening
> > a file?
> > gDirectory->cd("root:/"); gives a segmentation fault.
> > 
> > Thanks, Ulrich
> 
> Hi Ulrich,
> my solution was:
> 
> gROOT->cd();
> 

I use: 

gDirectory = gROOT;

Cheers
Otto

----------------------------------------------------------------------------
Otto Schaile                    Sektion Physik der LMU Muenchen
Phone: (+49 89)289 14070        Am Coulombwall 1, D-85748 Garching, Germany
FAX:   (+49 89)289 14072        EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET