The Delphi MESSAGE directive*is a very powerful one, you can generate compiler hints, warnings and errors with it, even fatal ones that abort compilation. The compiler will return error codes H1054 (hint), W1054 (warning), E1054 (error) or F1054 (fatal error), which in the documentation are known ...
More...