Contains the definitions of stderr and procedures to stop the execution of the program while printing error messages.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | parameter | :: | stderr | = | error_unit |
The file unit associated with standard error |
Stop program execution with one or two messages
Stop program execution with a message
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in), | optional | :: | message |
Stop program execution with two messages
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | message1 | |||
| character(len=*), | intent(in) | :: | message2 |