NAME member_array - find the index of an array element SYNOPSIS varargs int member_array(mixed elt, mixed *arr, int n) CONFIG.H - MUDOS_MEMBER_ARRAY_FLAG varargs int member_array(mixed elt, mixed *arr, int flag) DESCRIPTION This function will search for a sub-element elt in array arr, and return its index value. If the element couldn't be found, -1 will be returned. With the optional third argument n, you may specify which occurence of the element you want to address. If n is negative, the occurence will be counted from the end of the array. If config.h defines MUDOS_MEMBER_ARRAY_FLAG, the function will be defined as in MudOS. With an optional third flag argument, with which you may specify to search for strings in the array only comparing the first strlen(elt) characters of the elt string. (If this sounds stupid to you, you are okay.) SEE ALSO efun/arrays/, efun/strings/