Tests if a value is in the stack
Lists.au3 _StackValueInStack( $aStack [, $vValue = 0 [, $bCaseSensitive = False ]] ) |
$aStack | Stack array as handle |
$vValue | Value to test |
$bCaseSensitive | True = case sensitive for strings, False = case insensitive |
integer value | > -1 position in stack, -1 = not in stack or not a stack |
_StackPush, _StackPop, _StackPeek, _StackGet
If _StackValueInStack( $aMyStack, $myValue ) > -1 Then _ConsoleWrite( "Yep" )