Gloria, Jing wrote:
Has anybody implemented a function to do Logical Shift Right operations on an integer in GNU PASCAL? SHR operator will do an arithmetic shift right. Or any suggestions on how to do this?
Declare the variable as cardinal (or word) instead of integer.
SHR will then be a logical shift.
Maurice