/* this program is sub program of Readfile.c */ #include #include #include #include #include #include"..\LIB\8000.h" #include"..\LIB\vxcomm.h" char far *config; int debug, LED,time,Module,address,i,average_t,s_rate,x; char filename[80]; load_config() { Print("\r\nPlease input a file which you mould like to read:"); Scanf("%s",filename); config=(char far *)GetFilePositionByName(filename); if(config) { goto_star(); sscanf(config,"%d %d",&debug,&LED); Print("\n\rdebug=%d, LED=%d",debug,LED); goto_star(); sscanf(config,"%d",&time); Print("\n\rtime=%d",time); goto_star(); sscanf(config,"%d",&Module); Print("\r\nModule=%d",Module); for (x=0;x