BITS
Modern Pascal provides a few different ways for you to work with bits, no matter how large of scale. Over the years, we have found that some people understand working with bits, while others struggle. This unit simplifies the challenge for everyone.
Globals
None
Functions
bitsAsString(Longword, Byte):String
bitsPlus(Longword, Longword, Byte):Longword
bitsEqual(Longword, Longword, Byte):Boolean
lo(WholeNumber):WholeNumber
GetBit(Longword, Byte):Boolean
hi(WholeNumber):WholeNumber
Procedures
bitsReverse(Var Longword, Byte)
ClearBit(Longword, Byte)
SetBit(Longword, Byte)