Return option name length.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(option), | intent(in) | :: | self | Option data. |
Option name length.
elemental function name_len(self) result(length)
!< Return option name length.
class(option), intent(in) :: self !< Option data.
integer :: length !< Option name length.
length = 0
if (self%oname%is_allocated()) length = self%oname%len()
endfunction name_len