[fpc-pascal] shift right operation with variables

Peter peter at pblackman.plus.com
Mon Aug 17 18:30:33 CEST 2015


I was going to comment that the 'bitmask example doesn't work, which it
didn’t, but looks like its been recently fixed by adding the needed
QWord cast on the '1's.

http://wiki.freepascal.org/Bit_manipulation

Qwords are certainly trickier to use the Dwords.






More information about the fpc-pascal mailing list