virtuals fields / Bo methods

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jan 14 10:27:27 CST 2005


On 1/14/05 10:22 AM, "Olivier" <vidal_olivier at yahoo.fr> wrote:

>> 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" )
> 
> then

Aha, yes I see. 
You assign flags to different fields.

> string1=new vstring("string1",38,EVflag.fIndexByWords)
> string2=new vstring("string2",38,EVflag.fIndexed,"string1")
> 
> =
> 
> string1=new vstring("string1",38)
> string2=new vstring("string2",38,EVflag.fIndexed +
> EVflag.fIndexByWords, "string1")


This will be correct

string1=new vstring("string1",38, EVflag.fIndexed + EVflag.fIndexByWords)
string2=new vstring("string2",38,EVflag.fIndexed,"string1")


String1 - is indexed AND index is by words
String2 - is indexed and it is method


-- 
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