_ShiftPeek

Gets the value to pop without actual popping (removing)

Lists.au3
_ShiftPeek( $aShift )

parameters

$aShift Shift register array as handle

return value

value Value to pop from shift register

@error

1 Not a shift register
2 Shift register is empty, no values

related

_ShiftPush, _ShiftPop, _ShiftGet, _ShiftValueInShift

example

If $checkValue = _ShiftPeek( $aMyShift ) Then $myValue = _ShiftPop( $aMyShift )