Navigation:  thinBasic Modules > Core > Numeric handling >

IN

Previous pageReturn to chapter overviewNext page

 

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