user-0 提问: 大家新年快乐,有个问题请教一下

回复:
user: user-1
content: http://bbs.csdn.net/topics/380157851       if(!(strcmp(DataMark,"00010000"))) {_cls();putstr("dd1");_bioskey(0); recordno = 0; fieldno  =  0; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00010100"))) {                                  recordno = 0; fieldno  =  1; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00010200"))) {                                  recordno = 0; fieldno  =  2; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00010300"))) {                                  recordno = 0; fieldno  =  3; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00010400"))) {                                  recordno = 0; fieldno  =  4; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00150000"))) {                                  recordno = 0; fieldno  =  9; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00290000"))) {                                  recordno = 0; fieldno  = 10; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"003D0000"))) {                                  recordno = 0; fieldno  = 11; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00020000"))) {_cls();putstr("dd2");_bioskey(0); recordno = 1; fieldno  =  0; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00020100"))) {                                  recordno = 1; fieldno  =  1; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00020200"))) {                                  recordno = 1; fieldno  =  2; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00020300"))) {                                  recordno = 1; fieldno  =  3; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00020400"))) {                                  recordno = 1; fieldno  =  4; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00160000"))) {                                  recordno = 1; fieldno  =  9; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"002A0000"))) {                                  recordno = 1; fieldno  = 10; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"003E0000"))) {                                  recordno = 1; fieldno  = 11; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00050000"))) {_cls();putstr("dd3");_bioskey(0); recordno = 2; fieldno  =  0; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00050100"))) {                                  recordno = 2; fieldno  =  1; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00050200"))) {                                  recordno = 2; fieldno  =  2; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00050300"))) {                                  recordno = 2; fieldno  =  3; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00050400"))) {                                  recordno = 2; fieldno  =  4; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00190000"))) {                                  recordno = 2; fieldno  =  9; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"002D0000"))) {                                  recordno = 2; fieldno  = 10; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00410000"))) {                                  recordno = 2; fieldno  = 11; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00060000"))) {_cls();putstr("dd4");_bioskey(0); recordno = 3; fieldno  =  0; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00060100"))) {                                  recordno = 3; fieldno  =  1; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00060200"))) {                                  recordno = 3; fieldno  =  2; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00060300"))) {                                  recordno = 3; fieldno  =  3; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00060400"))) {                                  recordno = 3; fieldno  =  4; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"001A0000"))) {                                  recordno = 3; fieldno  =  9; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"002E0000"))) {                                  recordno = 3; fieldno  = 10; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00420000"))) {                                  recordno = 3; fieldno  = 11; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00070000"))) {_cls();putstr("dd5");_bioskey(0); recordno = 4; fieldno  =  0; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00070100"))) {                                  recordno = 4; fieldno  =  1; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00070200"))) {                                  recordno = 4; fieldno  =  2; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00070300"))) {                                  recordno = 4; fieldno  =  3; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00070400"))) {                                  recordno = 4; fieldno  =  4; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"001B0000"))) {                                  recordno = 4; fieldno  =  9; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"002F0000"))) {                                  recordno = 4; fieldno  = 10; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00430000"))) {                                  recordno = 4; fieldno  = 11; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00080000"))) {_cls();putstr("dd6");_bioskey(0); recordno = 5; fieldno  =  0; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00080100"))) {                                  recordno = 5; fieldno  =  1; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00080200"))) {                                  recordno = 5; fieldno  =  2; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00080300"))) {                                  recordno = 5; fieldno  =  3; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00080400"))) {                                  recordno = 5; fieldno  =  4; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"001C0000"))) {                                  recordno = 5; fieldno  =  9; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00300000"))) {                                  recordno = 5; fieldno  = 10; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"00440000"))) {                                  recordno = 5; fieldno  = 11; len = 10; KKflag = 1;} else if(!(strcmp(DataMark,"04000401"))) {_cls();putstr("dd7");_bioskey(0); recordno = 0; fieldno  = 12; len = 12; KKflag = 1;} else if(!(strcmp(DataMark,"04000402"))) {                                  recordno = 0; fieldno  = 13; len = 12; KKflag = 1;} else if(!(strcmp(DataMark,"04000403"))) {                                  recordno = 0; fieldno  = 14; len = 50; KKflag = 1;} else                                    {                                                                         KKflag = 0;}

user: user-2
content: 我记得有个玩意儿叫数据库。

user: user-3
content: 看程序的人都已经崩溃了。

user: user-0
content: 谢谢user-4 确实屏蔽下面一段就没事.......... 如果要改,怎样改好呢?

user: user-4
content: 1) 应该不是else if本身的问题. 2) 你的程序应该改改,这样写程序会让很多人崩溃.