<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Numeric functions > IN |
Description
Returns %FALSE if none of the values listed between () is = to ExpressionToCheck.
If one of the listed values is equal to ExpressionToCheck, the corresponding position in the list will be returned.
Syntax
n = In(ExpressionToCheck, Value1 [, Value2 [, Value...]])
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
ExpressionToCheck |
Numeric |
No |
Numeric expression to check |
Value ... |
Numeric |
No |
List of values to check against |
Remarks
Restrictions
See also
Examples