Xbasic

inlistn Function

Syntax

N INLISTN(A lookfor,A value_1,[A value]...)

Arguments

lookfor

Any type

value_1

Any type

value

Any type

Description

Returns which value (if in list) or 0 if not. Put another way, this function returns the index (1,2,3, etc.) of the first value that matches lookfor. If there are no matches, returns 0. Function is case-sensitive.