// saved from url
// http://www-cs.canisius.edu/PL_TUTORIALS/C++/EXAMPLES/MRD/SRC/speclist.c -->
//-------------------------------- speclist.c -----------------------------
#include
#include
#include "speclist.h"
void speclist::print ()
{
for (int i=0; i= MAXSPECS) return;
numspecs++;
int i = numspecs - 1; // index is 1 less than number of specs
specs[i].relation_to_previous = relationship;
strcpy (specs[i].fieldname, whichfield);
strcpy (specs[i].comparison, newcomparison);
strcpy (specs[i].fieldvalueC, newfieldvalue);
}