Board index » delphi » (no subject)

(no subject)

Help "Runtime error 201"

We have recently upgraded a computer on a network from a Intel 286 with
math coprcessor to a AMD 386 without math coprcessor and it now genarates
a Runtime error 201 at 03d1:00e2.6. We have all the source code and have
recompiled it to emulate coprcessor but still get the error, it can run
for 1 - 2 hours before the error occurs. could any one help I am not sure
if it is a Turbo Pascal error or a Dos error or if it could have anything
to do with the AMD 386 processor.

Grateful for any help
Mike Coffey

 

Re:(no subject)


Quote
m...@autoserv.demon.co.uk wrote:

> Help "Runtime error 201"

> We have recently upgraded a computer on a network from a Intel 286 with
> math coprcessor to a AMD 386 without math coprcessor and it now genarates
> a Runtime error 201 at 03d1:00e2.6. We have all the source code and have
> recompiled it to emulate coprcessor but still get the error, it can run
> for 1 - 2 hours before the error occurs. could any one help I am not sure
> if it is a Turbo Pascal error or a Dos error or if it could have anything
> to do with the AMD 386 processor.
> Runtime error 201 means something is out of range (eg array subscript, an

attempt to assign a negative value to a variable of type word).

Usually the cause can be found by examining the source code at the address
reported. In view of the 1 - 2 hours you mention, it sounds as if some variable
is gradually being incremented as the program runs, and eventually exceeds
its declared boundary. If you can't see it from studying the source code,
you could try writing all the variables in the line where the error occurs
to a log file, examination of which should make it clear what is happening.

Re:(no subject)


Quote
m...@autoserv.demon.co.uk wrote:

> Help "Runtime error 201"
> PS. Newsgroups like it if you complete the "Subject" field,

eg in this case "Runtime error 201" would have been suitable.

Other Threads