Wed, 18 Jun 1902 08:00:00 GMT
Strange behaviour (TP7, DIR, fast processor)
I have co-authored a suite of Turbo Pascal 7 statistical programs (using crt) that produce "Runtime error 200" messages when used with fast processors. This problem is apparently cured by at least three of the solutions I have found on the Internet, and the following query relates to a different phenomenon: A user of the (unmodified and unpatched) programs, who has switched to a Pentium II processor running at 266 MHz, reports strange behaviour when he tries them in a DOS shell from Windows 95. Usually they give "Runtime error 200" messages. But he can get them to work if he first uses DIR or DIR /p. Here is what he says: Quote> Still in the DOS shell, I ... tried running various programs. > After some trial and error, I was able to get each program to run. > None worked unless I had just entered a DIR or DIR /P command. > Some programs worked immediately following a DIR /P command, but > others would only run if a different program had first been > successfully opened. In no case could I get more than two > programs to run sequentially; when trying to run a third program > I'd get another runtime error and would have to enter another DIR > command. I'd like to be able to report a specific pattern of > results in response to systematic manipulation, but my > "successes" seemed to come almost at random. All I can say with > certainty is that alternating DIR and DIR /P commands allowed me > to run most of the programs; those that wouldn't open this way > would open if another program had been run first. But in trying > to replicate this pattern the program that had initially run > following a DIR command would refuse to run, while the > "piggy-backed" program would run (i.e., the order reversed).
What is the explanation for this? - Joe Abramson
|