March 2000
Intermediate to advanced
576 pages
18h 13m
English
ErrorAddr Variable
var ErrorAddr: Pointer;
When Delphi raises a runtime error, it stores in
ErrorAddr the code pointer where the error
occurred. You can use this address in error messages, as the starting
point for tracing the call stack, or
whatever.
RunError sets ErrorAddr and
then calls Halt. If ErrorAddr
is not nil and you call Halt,
the Halt procedure prints an error message.
| ErrorProc Variable, Halt Procedure, NoErrMsg Variable, RunError Procedure |
Read now
Unlock full access