本人有程序如下:
set talk off
set safe off
dime c[12]
c[1]="200701"
c[2]="200702"
c[3]="200703"
c[4]="200704"
c[5]="200705"
c[6]="200706"
c[7]="200707"
c[8]="200708"
c[9]="200709"
c[10]="200710"
c[11]="200711"
c[12]="200712"
dime d[3]
d[1]="VPDN在用用户"
d[2]="超级无绳在用用户"
d[3]="村村通在用用户"
clos all
for i=11 to 11 step 1
a=c[i]
for j=1 to 3 step 1
b=d[j]
use F:\经营业务清单级数据\dbf\&b
zap
appe from F:\经营业务清单级数据\txt\&b_&a..txt deli with char |
copy to F:\经营业务清单级数据\sjk\&b&a
endfor
endfor
运行到"appe from F:\经营业务清单级数据\txt\&b_&a..txt deli with char |"
这个语句时,出现了"F:\经营业务清单级数据\txt\&b_200711.txt不存在"的提示.
请问:为什么在"use F:\经营业务清单级数据\dbf\&b"这个语句中&b可以识别,而在本句中却不能够识别.
多谢.
------解决方案--------------------------------------------------------
appe from F:\经营业务清单级数据\txt\&b_&a..txt deli with char ¦
->
appe from F:\经营业务清单级数据\txt\&b.._&a..txt deli with char ¦
or
bb='appe from F:\经营业务清单级数据\txt\'+b+a+'.txt deli with char ¦'
&bb