RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.ErrorAddr Variable

Contains the address of a statement causing a runtime error.

Pascal
ErrorAddr: Pointer = nil;
C++
void * ErrorAddr = nil;

If a program terminates normally or stops due to a call to Halt, ErrorAddr is nil (Delphi) or NULL (C++). If a program ends because of a runtime error, ErrorAddr contains the address of the statement in error. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!