[fpc-devel] Packed array of boolean
Florian Klaempfl
florian at freepascal.org
Tue Apr 8 14:12:57 CEST 2008
Walker, David schrieb:
Please use fpc-pascal for user questions.
>
> The problem we've encountered is with "packed array of boolean". The
> compiler seems to "pack" booleans 1 per byte, whereas our old
> compiler packed them one per bit, into the smallest size possible.
[...]
>
> So, am I overlooking something in TBits, or am I reduced to writing
> the bit-twiddling routines myself? Or is there another approach
> someone can suggest?
Use bitpacked instead of packed.
More information about the fpc-devel
mailing list