help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

SysAssert

Standard Assert failure implementation

Declaration

Source position: systemh.inc line 810

procedure SysAssert(

  const Msg: ShortString;

  const FName: ShortString;

  LineNo: LongInt;

  ErrorAddr: Pointer

);

Description

SysAssert is the standard implementation of the assertion failed code. It is the default value of the AssertErrorProc constant. It will print the assert message Msg together with the filename FName and linenumber LineNo to standard error output (StdErr) and will halt the program with exit code 227. The error address ErrorAddr is ignored.

See also

AssertErrorProc

  

Custom assert error handling procedure

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505