Subroutines XERRWD, XSETF, XSETUN, and the function routine IXSAV,
as given here, constitute a simplified version of the SLATEC error
handling package.
OPTIONS
All arguments are input arguments.
MSG
The message (character array).
NMES
The length of MSG (number of characters).
NERR
The error number (not used).
LEVEL
The error level..
0 or 1 means recoverable (control returns to caller).
2 means fatal (run is aborted–see note below).
NI
Number of integers (0, 1, or 2) to be printed with message.
I1,I2
Integers to be printed, depending on NI.
NR
Number of reals (0, 1, or 2) to be printed with message.
R1,R2
Reals to be printed, depending on NR.
Note.. this routine is machine-dependent and specialized for use
in limited context, in the following ways..
The argument MSG is assumed to be of type CHARACTER, and
the message is printed with a format of (1X,A).
The message is assumed to take only one line.
Multi-line messages are generated by repeated calls.
If LEVEL = 2, control passes to the statement STOP
to abort the run. This statement may be machine-dependent.
R1 and R2 are assumed to be in double precision and are printed
in D21.13 format.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.