INCLUDE

Includes a value into an array if the value is not already there.

Format

INCLUDE (A, X)

Arguments

 
A
An array.
X
A real value.

Example

Assume that the array in the following function contains the values 1 through 10:
 
Function
INCLUDE(.MOD1.A,11)
Result
includes 11 as an element of the array