functionin_nameelementalprivate
elemental logical function in_name(ch)
True if ch can be part of a name.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| ch | character(len=1) | in | the character |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| in_name | logical |
Calls
Source
Show the code
elemental logical function in_name(ch)
character, intent(in) :: ch !! the character
in_name = starts_name(ch) .or. is_digit(ch)
end function in_name