Quoting a message from Vince Karch to All
VK>MSGID: 1:226/600 000811f7
VK>Hello,
VK>Got a possible bug that you may or may not have discovered (I'll try to
VK>be brief). Create:
VK>C:\WORKAREA\0
VK>Edit a small project in WORKAREA and back it up (the project) to 0.
VK>Now edit the WORKAREA project in some noticable fashion and then load
VK>the backup of the same name from 0. Answer 'Yes', you want to save the
VK>WORKAREA project when you go to load the backed up project.
VK>Ta da! The backup now has the recently edited events!!!! I lost a
VK>couple of components that I thought were safely saved in 0 when I went
VK>to 0 to review some previous work I was trying to modify.
Delphi (and TP 6.0) does the following on saving a file:
- Delete the .BAK file; (or whatever extension is used for backups...)
- Rename the .PAS file to .BAK
- Save current file as .PAS
That about explains it.
So if you want your .Bak file back, don't save the curren file with the
same name, or first rename the backup (yes, multitasking has it's
advantages...)
To prevent this, the IDE would have to make backups of backups etc...
C.U.
Bart
--------------------------------------
Bart Broersma
broersma@knmg.nl
* Wave Rider 1.20 [NR] *
... UNREGISTERED EVALUATION COPY
--- Wave Rider v1.20
---------------
* Origin: Aargh! BBS Amsterdam (2:280/606)
|