#include "worgen.h"
FUNCTION c_pxinxr (in, val, ns, index, dtype)
long *in; long *val; long *ns; long *index; long *dtype;
Input array.
Value of element in array to be matched. Must be same type as in.
Number of elements in the input array.
Index into array of first value equal to val.
Integer value representing the type of data. Legal values include:
= EBYTE(1): unsigned byte data = EWORD(2): signed two byte data = ELONG(3): signed four byte data = EREAL(4): four byte floating point data
c_pxinxr() searches an array to find the first value in the array which is equal to the value specified in the variable val. The array is searched from the end back.
c_pxinxr() returns
E_SUCC --> successful completion TYPERR --> invalid type specified