Diagnose

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Oct 5 20:08:55 CDT 2004


On 10/5/04 5:52 PM, "Robert Brenstein" <rjb at robelko.com> wrote:

> IMHO, open database should first check the integrity flag. If it is
> okay, it should go ahead and open the db. If not, it should return an
> error that db was not closed properly. Then, we decide whether to run
> diagnose (and act upon the results) or ask to open it anyway as it
> is. I would not like to have this occuring automatically (just like I
> always hated Valentina changing file format on me silently).

agree

> Diagnose should have options telling it what exactly to do and what
> to report. In some programs, I may want to have only errors reported,
> but in others, I may want all good and bad. The results should
> probably be a single report string, although, may be in highly OO
> environments using objects would be preferable.

Well, Diagnose() in 2.0 have VerboseLevel parameter

> The single-string report could be returned as XML, so we could parse
> it to extract individual information we need. Most environments have
> xml parsing libraries available after all.



-- 
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-beta mailing list