Discussion:
TP3 Runtime errors list
(too old to reply)
Robert AH Prins
2008-09-16 23:23:22 UTC
Permalink
Hi all,

Does anyone know where I can find a list of TP3 runtime errors, manual
is currently nowhere to find.

Thanks,

Robert
--
Robert AH Prins
robert dot ah dot prins on gmail
Robert Riebisch
2008-09-17 07:59:15 UTC
Permalink
Post by Robert AH Prins
Does anyone know where I can find a list of TP3 runtime errors, manual
is currently nowhere to find.
Looking at the German book "Turbo-Pascal für Insider" by Olaf Hartwig,
translating some error messages to English, doing a Google search for it
revealed: http://primepuzzle.com/tp2/ You're probably looking for
appendices H and I.
--
Robert Riebisch
Bitte NUR in der Newsgroup antworten!
Please reply to the Newsgroup ONLY!
Bill Leary
2008-09-17 11:27:19 UTC
Permalink
Does anyone know where I can find a list of TP3 runtime errors, manual is
currently nowhere to find.
Appendix F.
RUN-TIME ERROR MESSAGES

Fatal errors at run-time result in a program halt and the display of the
message:

Run-time error NN, PC=addr
Program aborted

where NN is the run-time error number, and addr is the address in the
program code where the error occurred. the following contains explanations
of all the run-time error numbers. Notice that the numbers are hexadecimal!

01 Floating point overflow.
02 Division by zero attempted
03 Sqrt argument error.
The argument passed to the Sqrt function was negative.
04 Ln argument error.
The argument passed to the Ln function was zero or negative.
10 String length error.
1) A string concatenation resulted in a string of more than 255
characters.
2) Only strings of length 1 can be converted to character.
11 Invalid string index.
Index expression is not within 1..255 with Copy, Delete or Insert
procedure calls.
90 Index out of range.
The index expression of an array subscript was out of range.
91 Scalar or subrange out of range.
1) The value assigned to a scalar or a subrange variable was out of
range
2) Attempt to Dispose(p) where 'p' is nil.
92 Out of range integer.
The real value passed to Trunc or Round was not within the integer
range of -32768 .. 32767
F0 Overlay file not found.
FF Heap/stack collision.
A call was made to the standard procedure New or to a recursive
subprogram, and there is insufficient free memory between the heap
pointer (HeapPtr) and the recursion stack pointer (RecurPtr).

Good luck!

- Bill
Robert AH Prins
2008-09-18 12:59:35 UTC
Permalink
Post by Bill Leary
Post by Robert AH Prins
Does anyone know where I can find a list of TP3 runtime errors,
manual is currently nowhere to find.
Appendix F.
RUN-TIME ERROR MESSAGES
<snip>

Thank you & Robert R!

Error was a '92' and I didn't have a clue that it was an integer
overflow, source doesn't seem to compile to the same executable. Problem
will likely be unsolvable due to the growth of the amount of data over
the years the program processes. Guess I'll have to move the program to
BP7/VP/FP, not something I'm looking forward to as it contains lots of
inline assembler... (result of an "if it ain't broke, don't fix it"
attitude)

Robert
--
Robert AH Prins
robert dot ah dot prins on gmail
Loading...