[Lazarus] A question about files managing
Michael Schnell
mschnell at lumino.de
Mon Mar 29 08:50:09 CEST 2010
On 03/26/2010 02:58 PM, Andrew Brunner wrote:
> I always use copyfile and check the error and then delete the file if
> needed. This ensures that the file was actually copied. It's just
> better that way :-)
>
*Renaming* a file to a different directory does not offer any risk
(either the file is in the new location or in the old one) and is much
faster.
-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100329/04713bf5/attachment-0004.html>
More information about the Lazarus
mailing list