[V4Rb 2] File format version

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Oct 6 23:40:16 CDT 2005


On 10/6/05 11:34 PM, "Charles Yeomans" <yeomans at desuetude.com> wrote:

>> But you know your Current Format,
>> So you can write
>> 
>>     if anything new then do ...
> 
> I mean the Valentina database file format.  As you know, it changed
> from v1 to v2.  So I should write code like
> 
> If Valentina.GetDatabaseVersion((theFile) < &h200 then
> ...
> Else
> Msgbox "This is a v1 file."
> End if
> 
> Now suppose that you change the Valentina file format again.  What I
> want is a function that returns &h200 now, and the correct value in the
> future.

Charles, 

You have not read my text deeply:

    this function EXTRACT version from db file !

So it will always work correctly for a given file


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list