[Valentina] Re: Vdb files

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Jan 19 10:34:30 CST 2003


on 1/19/03 3:32 AM, Keith DeLong at delong at redcort.com wrote:

> While I now understand your logic, I think ValentinaSetExtensions and the
> create command is confusing. Here's why...
> 
>> In the Valentina kernel exists 4 string constants.
>> ValentinaSetExtensions() just change values of this constants. Nothing more.
>> 
>> Assume you set 
>> 
>>   ValentinaSetExtensions "vtc", "dat, "blb", "ind"
> 
> What is the point of the 'vtc' above?
> It appears this is never used by ValentinaSetExtensions below ...
> 
>> Now, if you do 
>>   db.Create( "dbname.vtc" )
>> 
>> You must get files:
>> 
>>   dbname.vtc   
>>   dbname.dat
>>   dbname.blb
>>   dbname.ind
> 
> The vtc comes from the 'dbname.vtc' NOT from ValentinaSetExtensions "vtc"

No Keith,

When you do
    ValentinaSetExtensions "vtc", "dat, "blb", "ind"

You inform Valentina that NOW it must think, that ext of Description File
Must be "vtc"

When you do 
    db.Create( "dbname.vtc" )

Valentina use that info to do next string operation

    Substr( "dbname.vtc", "vtc" )

As result, Valentina can extract the basic name of database "dbname".
As result, Valentina can now buld rest names "dbname.dat", ...

I hope now it is more clear.

-- 
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://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list