CKLKUP CKLKUP CKLKUP CKLKUP CKLKUP CKLKUP CKLKUP ********************************************** ************************** ****** INTEGER FUNCTION CKLKUP (ITEM, LIST, NLIST) Looks up an item in an integer list. If an item is found, it returns the first position of the item in the list. If an item is not found, this routine returns the value 0. INPUT ITEM - Integer scalar; Item to look up in the list LIST(*) - Integer array; List of entries NLIST - Integer scalar; Number of entries in the list RETURN integer position of the item in the list.