| 发表于:2007-05-08 15:29:05 楼主 |
小弟曾经编写个小程序,一直运行好好的.可惜这次准备写个配置文件,结果原本好好的程序,在第2次打开文件就卡住了 if ubound(xx) > 1 then '将这些文件转化为一个文件 for k = 1 to (ubound(xx) + 0) filemix = frompath & "\ " & xx(k) j = topath & "\tmp\day " & ineedtime & ".txt " ' outfile0 = j open filemix for input as #3 open j for append as #4 do while not eof(3) line input #3, jj print #4, jj loop close #3 close #4 next k end if '对这个文件进行必要的处理 open outfile0 for input as #1 每次到这里的时候,就提示 文件已经打开!!! 天啊,真的 不知道为什么?求教各位 |
|
|
|
|