virtuals fields / Bo methods

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jan 13 22:10:14 CST 2005


On 1/13/05 9:45 PM, "Olivier" <vidal_olivier at yahoo.fr> wrote:

>> Wait wait wait!
>> 
>>     this is not correct!
>> 
>>   string2=new vstring("string2",38,EVflag.fmethod("string1") )
>> 
>> This should not even compile!
> 
> yes, I had tried :
> 
> string2=new vstring("string2",38,17,"string1")
> 
> And that worked.
> 
> 
> in valentina 1 doc :
> 
> indexed=1
> method=16
> 
> but indexbyword ?

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.


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