home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
REND.LZH
/
PIC1600
/
STRING.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-06-23
|
264b
|
17 lines
#include <stdio.h>
#include <string.h>
#define PICLIBMAIN
#include "piclib.h"
int GetIdentifier(char *string, char *select[])
{
int i;
for (i = 1; select[i] != NULL; ++i) {
if (!strcmp(select[i], string)) {
return i;
}
}
return 0;
}