Name

ErrorAddr Variable

Syntax

var ErrorAddr: Pointer;

Description

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.

See Also

ErrorProc Variable, Halt Procedure, NoErrMsg Variable, RunError Procedure
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset