sometimes I wish OP would allow some equivalent for C's bitfields in structures with automatic shifting/masking to get the correct results on set/get possibly enhanced by OP's range checks....that would be cool
✓ Check :twisted:
Try {$bitpacking on}, then declare a packed array or record.
Bookmarks