Why the Difference?
Chuck Pelto
cbpelto at pcisys.net
Wed Sep 28 13:21:52 CDT 2005
Greetings,
Looking over the tutorial and the example BinaryLink.rb, I notice
that there is a significant difference between the calls for creating
the structure of a database in the tutorial and in the BinaryLink.rb
example.
The tutorial has calls like:
tblPerson = mDatabase.CreateTable( ÒPersonÓ )
call tblPerson.CreateVarCharField( ÒNameÓ, 1022, EVFlag.fIndexed )
call tblPerson.CreateVarCharField( ÒLNameÓ, 1022, EVFlag.fIndexed )
call tblPerson.CreateDateField( ÒBornDateÓ, EVFlag.fIndexed )
Meanwhile, the BinaryLink.rb has calls like:
name = "tblAdmin"
comments = new VText("comments", 1024 )
keywords = new VVarChar("keywords", 504 )
createDT = new VDateTime("createDT")
modifyDT = new VDateTime("modifyDT")
The former is in accordance with the new reference manual. The latter
looks like it's out of the old reference manual.
Why is this the case?
Regards,
Chuck Pelto
More information about the Valentina
mailing list