shift register

AutoIt file: Lists.au3

A shift register is a first-in-first-out (FIFO) type of data list. A value is placed at the first position by pushing it into it. And by popping the last value is returned and removed.shift register

_ShiftCreate Creates a shift register (FIFO) for pushing and popping values
_ShiftIsShift Tests if given array is a shift register
_ShiftIsEmpty Tests if shift register is empty
_ShiftClear Clears a shift
_ShiftPush Pushes (adds) a value into the given shift register on first position
_ShiftPop Pops (removes) a value from the given shift register at last position
_ShiftPeek Gets the value to pop without actual popping (removing)
_ShiftGet Gets a value of a given position, zero-based
_ShiftValueInShift Tests if a value is in the shift register
_ShiftSize Gets shift register size
_ShiftToArray Creates an array from the given shift register
_ArrayToShift Creates a shift register from the given array