回复 22楼 sdta
=ALINES(aa,FILETOSTR("测试.txt"))CREATE CURSOR tt (列1 c(234),列2 c(99),列3 m)
FOR i=1 TO ALEN(aa,1)
INSERT INTO tt VALUES (SUBSTR(aa[i],1,234),SUBSTR(aa[i],235,99),SUBSTR(aa[i],334))
ENDFOR
BROWSE
在vfp6.0中,如何写?
=ALINES(aa,FILETOSTR("测试.txt")) &&这句