**Name**- Sar -- shift bits to the right (V3.0)
**Synopsis**-
result = Sar(a, x)

**Function**-
This function shifts
`a`

by`x`

bits to the right padding the holes with the most significant bit of`a`

. This is called an arithmetic shift.`a`

is converted to a signed 32-bit integer variable before the shift. **Inputs**-
*a*- source value
*x*- number of bits to shift

**Results**-
*result*- integer result

**Example**-
a = Sar(-256, 3)

This returns -32.

Show TOC