The functions described in the following table operate on lists. All the list functions are one-based, that is, the first element in a list is considered to be element 1, not 0.

Table 1. List functions
Function Description
ENTRY Returns a character string (CHARACTER or LONGCHAR) entry from a list based on an integer position. The data type of the returned value matches the data type of the list element.
LOOKUP Returns an INTEGER value giving the position of an expression in a list. Returns a 0 if the expression is not in the list.