CLOSE DATABASES USE gkcj ZAP cStr = FILETOSTR("成绩通知单.txt") FOR i = 1 TO ALINES(aa, cStr, 4 + 1, CHR(13) + CHR(10),CHR(13),CHR(10),CHR(41377)) STEP 7 cBkqx = ALLTRIM(GETWORDNUM(aa[i + 2], 2, ":")) cKsh = GETWORDNUM(aa[i + 3], 1, " ") cXm = GETWORDNUM(aa[i + 3], 2, " ") cBmd = ALLTRIM(GETWORDNUM(aa[i + 4], 2, ":")) ALINES(bb, aa[i + 6], 4 + 1, " ", ":") INSERT INTO gkcj VALUES (cKsh, cXm, cBkqx, cBmd, VAL(bb[2]), VAL(bb[4]), VAL(bb[6]), VAL(bb[8]), VAL(bb[10])) ENDFOR SELECT gkcj BROWSE
[此贴子已经被作者于2020-4-25 11:30编辑过]