[V4RB2] Union problem

Kem Tekinay ktekinay at mactechnologies.com
Sun Apr 3 17:09:59 CDT 2005


On 4/3/05 4:43 PM, Ruslan Zasukhin at sunshine at public.kherson.ua wrote:

> It complains because Union returns Vset.
> But you try assign to to bs which is VBitSet1
> 
> You see?

Yes, but the Valentina_Kernel_2 documentation reads on page 89:

> Union( inRightSet as VSet ) as Vset
>
> Executes a union of this set with the
> inRightSet. The result becomes this set. Such an  operation is said to be "in
> place".
>
> NOTE: BOTH SETS MUST BE OF THE SAME TYPE (BITSET OR ARRAYSET). <<<----

The 4RB_Refeerence_2_en says the same thing on page 134.

If you're telling me now that they must both be cast as VSet, that's fine,
except, as I said in the last e-mail, I can't seem to find a way to turn a
VSet into a VBitSet or a VArraySet without RB complaining. I think there
should be constructors like VBitSet( inSet as VSet ) and VArraySet( inSet as
VSet ) that would handle the conversion for me.

Should I report this in Mantis and send a project?

__________________________________________________________________________
Kem Tekinay                                                 (212) 201-1465
MacTechnologies Consulting                              Fax (914) 242-7294
545 Eighth Avenue, Suite 401                          Pager (917) 491-5546
New York, New York 10018                    http://www.mactechnologies.com

To join the MacTechnologies Consulting mailing list, send an e-mail to:
  mactechnologies_consulting-subscribe at yahoogroups.com





More information about the Valentina mailing list