[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Standard Assert failure implementation
Source position: systemh.inc line 680
procedure SysAssert( |
const Msg: ShortString; |
const FName: ShortString; |
LineNo: LongInt; |
ErrorAddr: Pointer |
); |
SysAssertis the standard implementation of the assertion failed code. It is the default value of the AssertErrorProcconstant. It will print the assert message Msgtogether with the filename FNameand linenumber LineNoto standard error output (StdErr) and will halt the program with exit code 227. The error address ErrorAddris ignored.
|
Custom assert error handling procedure |