MEMBER_A.C

LIB3/SECURE/SIMUL_EF/MEMBER_A.C · 293 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

/* very temporary hack to get DW off its knees on 1/12/92 by [als] */
int     member_array( mixed el_match, mixed *arr )
{
    int     i, bing;

    bing = -1;
    for( i = 0; i < sizeof( arr ); i++ )
    {
	if( el_match == arr[ i ] )
	{
	    bing = i;
	    break;
	}
    }
    return bing;
}

Site Stats

Snippets: 1791
Codebases: 571