Convert

jda jda at his.com
Wed Jan 19 14:56:31 CST 2005


Hi Ruslan,

I don't understand the logic in your Convert example:

-------------
   DbVersion = valentina.GetDatabaseVersion( f )

   s = Hex( DbVersion )

   // If database is not of 1.x version then return.
   if DbVersion = 0 or DbVersion >= &H200 then
     return
   end if
-------------

&H200 has a value of 512.

When I try to open my v1.x db I get a DBVersion value of 400 and a 
hex value of 190. So it is seen as NOT 1.x.


When I open my v2 db I get a DBVersion value of 2 and a hex value of 
2. So it is also seen as NOT 1.x.

Shouldn't V2 db's return a (hex) value of &h200?

Jon


More information about the Valentina-beta mailing list