Prints error message in specific format.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | error |
subroutine s_err_print(error) ! ==== Description !! Prints error message in specific format. ! ==== Declarations character(len=*), intent(in) :: error character(len=128) :: fstring ! ==== Instructions fstring = trim(error) // " (" // trim(f_utl_r2c(c_sentinel_r)) // ")" ! fstring = txt_error // trim(error) // txt_info // & ! & " (" // trim(f_utl_r2c(c_sentinel_r)) // ")" // txt_reset write(std_e, '(A)') fstring end subroutine s_err_print