functionis_blankelementalprivate
elemental logical function is_blank(ch)
True if ch is a blank or a tab.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| ch | character(len=1) | in | the character |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| is_blank | logical |
Source
Show the code
elemental logical function is_blank(ch)
character, intent(in) :: ch !! the character
is_blank = ch == ' ' .or. ch == TAB
end function is_blank