int Location_SeqList ( SeqList *L, datatype x ) { int i=0; while ( i<=L.last && L->data[i]!= x ) i++; if ( i>L->last ) return -1; else return i; /*返回的是存储位置*/ }