does V4MD back itself up?

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Feb 26 00:07:42 CST 2004


on 2/26/04 12:07 AM, Andrew Sinning at andrew at learningware.com wrote:

> ah, thanks.
> 
> In the docs it states for the description of CloseDatabase(
> gMyDataBase ):
> 
> "Closes the database. Before Close() do Flush() if it needs."
> 
> 
> Where you say "do Flush() if it needs", do you mean "does" Flush if
> needed, or do you mean that the programmer should "do Flush() if
> needed"?

BOTH :-)

CloseDatabase() will do Flush() self

But you can do as programmer call Flush() as often as you need.


> How often should one flush()?

After each modification of records

> Is there a way to check the amount of
> memory being used up to know if it's time to flush()?

No need for this.

Flush() is required ONLY to FIX your changes to disk

> Will V4MD periodically flush itself?

Not completely. Long story.

You should self take care on this.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list