bitSet and Arrayset + problem with "bitset=new bitset (count,
arrayset)"
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Feb 14 10:46:06 CST 2005
On 2/14/05 10:24 AM, "Olivier" <vidal_olivier at yahoo.fr> wrote:
Hi Oliver,
> Hello Ruslan and list,
>
> V4RB 2.0 b45
>
> 1- problem :
>
> The problem occurs on a table with 50 000 records.
>
> I have an arrayset which has, for example, 3 000 records.
> then,
>
> Dim p as integer=arrayset1.count
> Setbit1=new vbitset (p, arrayset1)
>
> The number of records in the bitSet is not more than of some dozens.
> Is it normal?
BIG MISTAKE!
Please remember this:
BitSet must have size EQUAL TO table.physicalRecordCount
Btw, simple way to get empty BitSet of correct size is
botset = tbl.SelectNone()
> On the other hand, if I set:
> Setbit1=new vbitset (100 000, arrayset1)
>
> It is OK. Nevertheless, in doc, the parameter " inMaxCount " is
> described as: " The maximal value that can be stored in the bitset ".
> then why a parameter of 3000 doesn't works ?
>
> Also, the parameter " inMaxCount " is necessary. Is it normal?
--
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