--- capa/capa51/GUITools/grader.funct.c 1999/09/28 21:25:36 1.1.1.1 +++ capa/capa51/GUITools/grader.funct.c 1999/11/02 19:10:44 1.2 @@ -209,25 +209,6 @@ int capaFindSection(ClientData clientdat return TCL_OK; } -/* finds how many set.db files there are */ -int howManySetDBFile() -{ - char filename[FNAMELENGTH], *pathName; - int ii; - - - pathName=getcwd(NULL,FNAMELENGTH); - ii=1; - sprintf(filename,"%s/records/set%d.db",pathName,ii); - while(!access(filename, F_OK)) - { - ii++; - sprintf(filename,"%s/records/set%d.db",pathName,ii); - } - free(pathName); - return (ii-1); -} - /* makes a student report * Arguments: the student number */