home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <stdarg.h>
- #include "sets.h"
- /***************************************************************************/
- void set_clear(set *aset)
- /***************************************************************************/
- /* This function clears all members in a set. */
- {
- int i;
-
- for(i=0;i<aset->member_recs;i++)
- aset->word[i] = 0;
-
- /* correct the member count in the set record */
- aset->nmembers = 0;
-
- } /* end set_clear */
-
-