Tests if a value is any column of the list
| Lists.au3 _ListValueInList( $aList [, $vValue = 0 [, $bCaseSensitive = False ]] ) |
| $aList | List array as handle |
| $vValue | Value to test |
| $bCaseSensitive | True = case sensitive for strings, False = case insensitive |
| integer value | > -1 position in list, -1 = not in list or not a list |
_ListGetColumn, _ListGet, _ListValueInListColumn
| Local $aCats = _ListCreate(2) | ; 2 columns list |
| _ListAdd( $aCats, "siamese", "red" ) | ; add red siamese cat |
| _ListAdd( $aCats, "balinese", "white" ) | ; add white balinese cat |
| _ListValueInList( $aCats, "siamese" ) | ; returns 0 as "siamese" is in first row |
| _ListValueInList( $aCats, "white" ) | ; returns 1 as "white" is in second row |
| _ListValueInListColumn( $aCats, 0, "white" ) | ; returns -1 as "white" isn't in column 0, the first column |