while (fgets (teststring, MAXSTRING-1, infilefp) != NULL) {
sscanf (teststring, "%X", &loc);
gstart = index (teststring,':') + 1;
while (fgets (teststring, MAXSTRING-1, infilefp) != NULL) {
sscanf (teststring, "%X", &loc);
gstart = index (teststring,':') + 1;