SRCHIL   

Equivalent PK functions:

SRCHIL ( list, value, start, index, ifail )
===========================================

  Search for value in a list of ints from a starting index

    Can be called from the GO.

Receives:
  KI_tag_list_int          *list           --- list which is to be searched
  int                      *value          --- value to be looked for
  KI_int_index             *start          --- starting position to look for
                                           --- integer

Returns:
 <KI_int_index>            *index          --- index of first item in list
                                           --- which matches given value
  KI_cod_error             *ifail          --- failure indicator

Specific errors:
  KI_bad_index              'start' not less than list length + 1

Description:
  The list is searched from a starting position for a match with the given
  integer. The starting index cannot be less than 1, the start of the list, or
  greater than the list length. If no match is found 'index' is set to zero.