ArcBasicDocs

Sar

Shifts bits right, keeping the sign.

a Sar b

Parameters

None.

Description

Shifts a whole number's bits right, keeping its sign: each place halves it, rounding down, so -8 Sar 1 is -4.

See also