Leonardus
Analogous LeoScript Operator roll

STACK

$ X_{I-1}\ ...\ X_0\ I\ J\ --\ X_{(J-1)\ mod\ I}\ ...\ X_0\ X_{I-1}\ ...\ X_{J\ mod\ I} $

DESCRIPTION

Performs a circular shift of the objects $ X_{I-1} $
through $ X_0 $ on the operand stack by the amount J.

ORIGIN

Core code registered in systemdict.