Navigation:  ThinBASIC Language > thinBasic Functions > String functions >

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$(sExpressionToCheck, sValue1 [, sValue2 [, sValue...]])

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

sExpressionToCheck

String

No

String expression to check

sValue ...

String

No

List of values to check against

 

Remarks

 

Restrictions

 

See also

 

IN

 

Examples