Error Handling Routines, D3Exxx
- Last UpdatedNov 07, 2025
- 1 minute read
D3ECHK - Switch Error Handling ON and OFF
This routine enables the user to switch the internal error handling mechanism on and off. The default action at program entry is for error handling to be switched ON.
D3EMSG - Return Error Message for a given Error Code
Most data access routines return an error code to denote an error condition. If the programmer wishes to output the nature of the error, he may call this routine.
It returns the error message corresponding to a given error code. The routine will display the error message if requested.
D3ERST - Reset Internal Error Flag
This routine resets the Marine data access internal error flag.
Whenever a positive error code is returned by an Marine data access routine, an internal error flag is set to prevent the next routine from executing. If the programmer wishes to cancel an intentional error condition and error handling has not been switched off by D3ECHK, then this routine must be called to reset the error flag before the next routine is called.