Error Levels, Run-Time Errors
Updated: May 31, 2005

Compiler Error Levels
~~~~~~~~~~~~~~~~~~~~~
The ExitProcess code of hot.exe returns 5 error levels:
  
  0 No Error
  1 Warning(s)
  2 ERROR parsing source code
  3 ERROR producing object module
  4 ERROR linking object modules

Please see Application Object for further description (hotapp).


Application Run-Time Errors
~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Library not found    LIB file in DECLARE statement not found.
  Function not found   Function in DECLARE not found in LIB file.  
  Insufficient memory  Application request for RAM caused error.
  Array index error    Array subscript(s) out of bounds.
  Resource not found   Extraction statement did not find resource.

Applications may use FPU.Error or App.OnFPUerror to trap run-time
FPU errors (hotfpu).  APPLICATION .OnExit (hotapp) and FORM
.OnClose may also be used to flag various fatal errors.

Robust applications will check arguments and results *before* a
serious error condition occurs.  For example, one can test first
if a divisor is zero or if a file exists before FILE .Open, etc.


Copyright 2003-2005 James J Keene PhD
Original Publication: Oct 9, 2003
