I tried to use the bit helpers like 
https://www.freepascal.org/docs-html/rtl/sysutils/twordhelper.testbit.html but 
the bit to test is  0..15. I expected this to work like 
https://wiki.freepascal.org/Bit_manipulation but that doesn't seem to be the 
case. 

Does there exist bit helpers like GetBit (from the last link) in the RTL?

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to