.FindContains ignores "inSelection" VSet parameter

Erik Mueller-Harder valentina-list at vermontsoftworks.com
Tue Dec 14 11:07:34 CST 2004


> 1) General way is:
>
>     s1 = myVarChar.FindContains("Ruslan")
>
>     s2 = myVarChar.FindContains("Erik")
>
>     s1.Intersection( s2 )
>
>         // hmm, may be we need also add
>         // s3 = Intersection( s1, s2 )

So I'll use this for now, thanks!

> 2) second way
>
>     s1 = myVarChar.FindContains("Ruslan")
>
>     s2 = myVarChar.FindContains("Erik", s1)
>
>         s1 = nil // to free RAM ASAP

Seems a little cleaner, or at least more terse.  I'll switch to this 
when it works.

Thank you!

-- Erik



More information about the Valentina-beta mailing list