virtuals fields / Bo methods
Ruslan Zasukhin
sunshine at public.kherson.ua
Fri Jan 14 10:03:13 CST 2005
On 1/14/05 9:29 AM, "Olivier" <vidal_olivier at yahoo.fr> wrote:
> Hi Ruslan,
>
>> Oliver, once again. Must be
>>
>> Vstring( "strring2", 38,
>> EVFlag.fIndexed + EVFlag.fIndexByWords, "String1" )
>>
>>
>> Use enum contants. Do not use numbers.
>> In 2.0 values of constants was changed.
>>
>> So if you use constants you do not care about their values.
>>
>
> ok,
>
> Thus now, we can have several indexs (indexed, indexbyword) for a field
> without needing virtual field?
> -> make doc.
No no.
Oliver, everything here like in 1.x !
Field can have INDEX.
INDEX can be marked as UNIQUE, or IndexByWords.
Virtual fields solve other tasks.
> For the efficiency and of the size of indexs and DB, it is the same
> thing as the supplementary virtual field?
I think you have not correctly understand me.
This YOUR OLD code
"String2"
String2.methodText="String1"
String2.isindexed=true
String1.indexbyword=true
Is the same to
Vstring( "strring2", 38,
EVFlag.fIndexed + EVFlag.fIndexByWords, "String1" )
--
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://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina-beta
mailing list