Manually constructing a BitSet

Joakim Schramm joakim at astrocalc.com
Tue Feb 27 16:42:14 CST 2007


Hi,

I wonder if it's possible to "manually" populate a BitSet with some "known"
RecID's? There are some methods in Vset and VBitSet that I think could be
used for this but I find no example on how to use them. The short "asigment"
sample in the doc is rather useless. I think I would do this something like:

Dim VS as New VSET
Dim BS1 as New VBITSET
Dim BS2 as VBITSET

VS.Append(RecId1) 
VS.Append(RecId2) 
Etc.

Set BS1 = VS

Set BS2 = Link.FindLinkedAsBitSet(BS1,tbl1,tbl2)

Is this the correct way to do it?

Joakim



More information about the Valentina mailing list