IN$

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > String 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$(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