INLIST Function

Purpose

Returns a bit(1) value indicating whether x is equal to any remaining arguments.

Syntax

INLIST(x, y[,y...])

Parameters

x and y
ORDINAL expressions of the same type or all computational.

Description

After the evaluation of the first x parameter, the evaluation of the remaining parameters must not change the address or value of the first parameter. This condition is true when all but the first parameters are constants, and when the second and subsequent parameters do not rely on the invocation of any user functions that change storage associated with the first parameter.