vf 程序统计的结果如何保存到文件
目前在搞数据分析,用VF程序比较方便写了这样一个东东
use
if .not.eof()
i=1
clear
?" bj" ," ywcc"," sxcc"," yycc"," zfcc"
for i=1 to 28
count for bj=i and ywcc="a" to a1
count for bj=i and ywcc="b" to a2
count for bj=i and ywcc="c" to a3
count for bj=i and ywcc="d" to a4
count for bj=i and sxcc="a" to b1
count for bj=i and sxcc="b" to a2
count for bj=i and sxcc="c" to a3
count for bj=i and sxcc="d" to a4
?i,a1,a2,a3,a4,b1,b2,b3,b4
endfor
endif
use
现在想如何把统计到的结果直接生成一个文件 (excel\dbf\*.txt 均可)
望大家给指点.谢谢
[此贴子已经被作者于2018-5-5 07:18编辑过]