再次看了一下截图
我能发现问题的只有第1张和第4张
第2张是你输入了错误的相应值
应该按照提示输入2位数
比如20,而不是2A0B,或者5642
第3张应该是想说明等待时间过长
这应该是正常的
算法的时间性能本来就很低
虽然做了一些优化
仍然可能会有将近1至3分钟的等待时间
如果是彻底死掉
那就有问题了
有可能是临时数表被意外过滤成了空表
这需要你来调试判断
1和4的问题应该是一样的
很可能是:UInput段的 errorlevel 没有被复位的原因
这我在处理另外一个兼容性问题的时候曾经碰到
http://www.cn-dos.net/forum/viewthread.php?tid=30968&fpage=1&page=3
将这个批处理扩展名改为.cmd应该会解决问题
我自己编写代码时
凡是使用到cmd扩展语法
而在command中无法运行的
都会使用.cmd扩展名
所以偶尔会忽略一些问题
Last edited by qzwqzw on 2007-9-26 at 11:26 PM ]
Take another look at the screenshot. The only issues I can find are in the 1st and 4th ones. The 2nd one is because you entered an incorrect corresponding value. You should enter a two-digit number as per the prompt, like 20, not 2A0B or 5642. The 3rd one is probably to indicate that the waiting time is too long, which is normal. The time performance of the algorithm is originally very low. Although some optimizations have been done, there may still be a waiting time of nearly 1 to 3 minutes. If it completely freezes, there is a problem. It may be that the temporary number table is accidentally filtered into an empty table. This needs you to debug and judge. The problems with 1 and 4 are probably the same. It is very likely that the errorlevel in the UInput segment was not reset. I encountered this when dealing with another compatibility issue.
http://www.cn-dos.net/forum/viewthread.php?tid=30968&fpage=1&page=3 Changing the extension of this batch file to.cmd should solve the problem. When I write my own code, I always use the.cmd extension for any use of cmd extension syntax that can't run in command. So I occasionally ignore some problems.
Last edited by qzwqzw on 2007-9-26 at 11:26 PM ]