V4RB NEW Vdatabase.ThrowOut method

Charles Yeomans yeomans at desuetude.com
Mon May 10 19:12:45 CDT 2004


On May 10, 2004, at 7:06 PM, Ruslan Zasukhin wrote:

> On 5/11/04 2:03 AM, "Charles Yeomans" <yeomans at desuetude.com> wrote:
>
>>> DESCRIPTION:
>>>
>>> This method allow you delete files of database from HDD.
>>>
>>>
>>> ---------------
>>> OFF
>>>
>>> Of course, this is not what you need often :-)
>>> But just for completeness of methods
>>
>>
>> Why not call it VDatabase.Delete?  If you call it ThrowOut, then I'd
>> expect to find the files in the trash.
>
> 1) Because 'Delete' is very close to C++ operator.
>
>     delete pointer
>
> Which delete only C++ instance of RAM.
>
>
> 2) may be then db.Erase() ?

3) Or maybe db.DeleteFiles()?

--------------
Charles Yeomans



More information about the Valentina-beta mailing list