Prints warning message in specific format.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | warning |
subroutine s_err_warn(warning) ! ==== Description !! Prints warning message in specific format. ! ==== Declarations character(len=*), intent(in) :: warning character(len=256) :: fstring ! ==== Instructions fstring = "[fsml warning] " // trim(warning) ! fstring = fg_color_magenta // "[fsml warning] " // style_reset // & ! trim(warning) // fg_color_blue // " (" //& ! & trim(f_utl_r2c(c_sentinel_r)) // ")" // style_reset write(std_e, '(A)') trim(fstring) end subroutine s_err_warn