[V4Rb 2] File format version

Charles Yeomans yeomans at desuetude.com
Wed Oct 5 17:26:54 CDT 2005


On Oct 5, 2005, at 5:15 PM, Ruslan Zasukhin wrote:

> On 10/5/05 11:38 PM, "Charles Yeomans" <yeomans at desuetude.com> wrote:
>
>>
>> On Oct 5, 2005, at 4:14 PM, Ruslan Zasukhin wrote:
>>
>>> On 10/5/05 10:32 PM, "Charles Yeomans" <yeomans at desuetude.com> wrote:
>>>
>>>> Is there a function that returns the current file format value for
>>>> checking against Valentina.GetDatabaseVersion?
>>>
>>> But Valentina.GetDatabaseVersion do return in fact this file format
>>>
>>> Or what you mean?
>>
>> Valentina.GetDatabaseVersion returns the format of the file passed to
>> it.
>
> right
>
>> I want a function Valentina.DatabaseVersion that returns the file
>> format used by V4Rb.
>
> By engine itself ???
>
> I.e. For V4RB2 this method will return 2.0.5 ?
>
> I still cannot catch idea it seems, and why you need this ?

Suppose the file format changes in 2.0.6.  If my application attempts 
to open a file created using 2.0.5, I may not want to have 2.0.6 
automatically update the file format (which is what happened with V4Rb 
1), thus making the file possibly unreadable by the previous version of 
my application.

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



More information about the Valentina mailing list