Array Roll

Roll an array to left or right by a number of steps.

It's nearly the same as shift-array, but with a circular array behavior.

For example a RollArr module can be used to add endless scroll capability to a sequenced-steps module.

In HH3 this module replaces the Roll Array [V2.0] user module.

Settings

array in

Array input.

array out

Array output.

roll

  • N=0 : do nothing.
  • N<0 : roll elements to the left and complete the end of the array with the shifted beginning part.
  • N>0 : roll elements to the right and complete the beginning of the array with the shifted end part.

See also

Edit All Pages