Hi,
I cannot reproduce the problem... (using joe editor in cygwin) But anyway, on Windows, it is often not possible to change a macro being used by ROOT. But this is a OS (Windows) issue...
Cheers,
Bertrand.
-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Wei Xie
Sent: Wednesday, July 01, 2009 04:03
To: roottalk (Mailing list discussing all aspects of the ROOT system.)
Subject: [ROOT] file disappear unexpectedly
This happens for VC++9.0 version of root. Following the following steps, the file being edited disappears unexpectedly.
void oo()
{
cout<<"hello"<<endl;
}
2. open the second console, start ROOT and run the macro, e.g.
.x oo.C
3. Don't quit ROOT after running the command.
4. go to the first console and make some changes on oo.C and save it.
6. go to the second console, and type ".q" to quit ROOT.
7. check the oo.C now in the directory and it disappeared. Note that the same problem won't happen with the following code, i.e. w/o "void oo()"
{
cout<<"hello"<<endl;
}
Thanks
-- Wei
Dept. of Physics, Purdue Univ.
525 Northwestern Ave., West Lafayette, IN 47907
http://www.physics.purdue.edu/people/faculty/wxie.shtml Tel: 765-494-8743, Fax: 765-494-0706
This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 17:50:02 CEST