Checks whether c is an uppercase ASCII letter (A .. Z).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=1), | intent(in) | :: | c |
The character to test. |
elemental logical function is_upper(c) character(len=1), intent(in) :: c !! The character to test. is_upper = (c >= "A") .and. (c <= "Z") end function is_upper