int unload_data() { int n; int c; int channel; for ( n = 0; n < LEN3; n = n + 1 ) { for ( channel = 0; channel < 5; channel++ ) { Restart1:; #if COM_PORT c = (int) com_getcB(); if( ( c == -1 ) break; fputc( keyIn, fp ); /* store to the logfile */ #else c = fgetc( fpin ); file_reads = file_reads + 1; if ( EOF == c ) { // End 'O File, end program return 1; } #endif if(channel == 0) if (c > 3) goto Restart1; if(channel == 1) chan1[n] = c-128; if(channel == 2) chan2[n] = c-128; if(channel == 3) chan3[n] = c-128; if(channel == 4) chan4[n] = c-128; } /* end of for chan loop */ } /* end of while n