On Thu, 13 Apr 2017, Andrea Mauri wrote:
any answer?
I asked in the wrong place?
where should I ask?
You asked in the right place. I just didn't notice your first mail.
I am not sure that what you did is supported.
b.notbits(b)
I am not sure that you can pass the same instance to b.
Can you test with 2 separate instances ?
Michael.
Il 31/03/2017 14:10, Andrea Mauri ha scritto:
one more thing.
there is a method like clearall to set all bits to 1?
clearall is much more faster then a simple iteration along all bits
Il 31/03/2017 14:07, Andrea Mauri ha scritto:
I didn't understand how TBits.NotBits works.
Consider the following code:
b:= TBits.Create(NRECORDS);
b.NotBits(b);
or more clear:
b:= TBits.Create(NRECORDS);
b.Clearall;
b.NotBits(b);
I supposed that all bits of b will be 1. What I obtain is that all bits
are 0.
fpc 3.0.0 win64
Am I missing something?
Thank you.
Andrea Mauri
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel