Re: change current directory to memory?

From: Kurt Rinnert (rinner@ekp.physik.uni-karlsruhe.de)
Date: Thu May 13 1999 - 16:44:41 MEST


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();

But I must admit that I found it by a wild guess and thus do not know,
if it is the "right way" to do it.

	cheers
		Kurt
	 
-- 
Kurt Rinnert  <rinnert@ekp.physik.uni-karlsruhe.de>



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